Skip to content

Commit 9390cda

Browse files
committed
Correct span for expr_vec
1 parent 5a3e320 commit 9390cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ pub impl Parser {
13111311
ex = expr_vec(~[first_expr], mutbl);
13121312
}
13131313
}
1314-
hi = self.span.hi;
1314+
hi = self.last_span.hi;
13151315
} else if self.eat_keyword("__log") {
13161316
// LOG expression
13171317
self.expect(&token::LPAREN);

0 commit comments

Comments
 (0)