1
Fork 0

Correct span for expr_vec

This commit is contained in:
Seo Sanghyeon 2013-05-21 19:08:34 +09:00
parent 5a3e320514
commit 9390cdaa8b

View file

@ -1311,7 +1311,7 @@ pub impl Parser {
ex = expr_vec(~[first_expr], mutbl); ex = expr_vec(~[first_expr], mutbl);
} }
} }
hi = self.span.hi; hi = self.last_span.hi;
} else if self.eat_keyword("__log") { } else if self.eat_keyword("__log") {
// LOG expression // LOG expression
self.expect(&token::LPAREN); self.expect(&token::LPAREN);