about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-21 05:37:17 -0700
committerbors <bors@rust-lang.org>2013-05-21 05:37:17 -0700
commit808aada1fb95133f9e9e78be70ad805c0fee4b9c (patch)
tree0ea0a2f5227e35c6a921bc78ef5f2ae5326beb9e /src/libsyntax/parse
parentdc7b83d18659503f47ae622918c3576d430a926e (diff)
parent258d20ea84c51deb0192f7f2576edfa8ca726059 (diff)
downloadrust-808aada1fb95133f9e9e78be70ad805c0fee4b9c.tar.gz
rust-808aada1fb95133f9e9e78be70ad805c0fee4b9c.zip
auto merge of #6654 : sanxiyn/rust/accurate-span-2, r=bstrie
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 2de27285ce2..9f11b059a95 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1311,7 +1311,7 @@ pub impl Parser {
                     ex = expr_vec(~[first_expr], mutbl);
                 }
             }
-            hi = self.span.hi;
+            hi = self.last_span.hi;
         } else if self.eat_keyword("__log") {
             // LOG expression
             self.expect(&token::LPAREN);