syntax: fix pretty printing __log stmts
This commit is contained in:
parent
2e0b363a7f
commit
7a199d41a9
10 changed files with 17 additions and 30 deletions
|
@ -1230,7 +1230,7 @@ pub impl Parser {
|
|||
let lvl = self.parse_expr();
|
||||
self.expect(&token::COMMA);
|
||||
let e = self.parse_expr();
|
||||
ex = expr_log(ast::log_other, lvl, e);
|
||||
ex = expr_log(lvl, e);
|
||||
hi = self.span.hi;
|
||||
self.expect(&token::RPAREN);
|
||||
} else if self.eat_keyword(&~"return") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue