Skip to content

Commit

Permalink
Correct span for expr_vec
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn committed May 21, 2013
1 parent 5a3e320 commit 9390cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9390cda

Please sign in to comment.