Actually return the correct node from the parser.

This commit is contained in:
Graydon Hoare 2011-01-03 16:18:25 -08:00
parent 2100aceabf
commit 019095c9e6

View File

@ -513,8 +513,7 @@ impure fn parse_bottom_expr(parser p) -> @ast.expr {
some(token.COMMA),
pf, p);
hi = es.span;
auto e_ = ast.expr_bind(e, es.node, ast.ann_none);
e = @spanned(lo, hi, e_);
ex = ast.expr_bind(e, es.node, ast.ann_none);
}
case (_) {