From 26d8eaefa7c668ff337dde4942c5102de50b0fc1 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Tue, 21 Jun 2011 14:07:28 -0700 Subject: Puts out burning tinderbox (oops, AST nodes don't have def_ids/anns). --- src/comp/front/parser.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/comp/front/parser.rs') diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index aaf8533ba2b..b66cb7bb455 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -1734,8 +1734,7 @@ fn parse_anon_obj_field(&parser p) -> ast::anon_obj_field { auto ident = parse_value_ident(p); expect(p, token::EQ); auto expr = parse_expr(p); - ret rec(mut=mut, ty=ty, expr=expr, ident=ident, id=p.next_def_id(), - ann=p.get_ann()); + ret rec(mut=mut, ty=ty, expr=expr, ident=ident, id=p.get_id()); } fn parse_method(&parser p) -> @ast::method { -- cgit 1.4.1-3-g733a5