Correct span for expr_vec
This commit is contained in:
parent
5a3e320514
commit
9390cdaa8b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue