diff options
| author | Lindsey Kuper <lkuper@mozilla.com> | 2011-06-21 14:07:28 -0700 |
|---|---|---|
| committer | Lindsey Kuper <lkuper@mozilla.com> | 2011-06-21 14:07:28 -0700 |
| commit | 26d8eaefa7c668ff337dde4942c5102de50b0fc1 (patch) | |
| tree | e489da137e47e43d5de3951c3e7c488707b69fb8 /src/comp/front/parser.rs | |
| parent | 84005fadbf8854df069a3caf02c9493866b550be (diff) | |
| download | rust-26d8eaefa7c668ff337dde4942c5102de50b0fc1.tar.gz rust-26d8eaefa7c668ff337dde4942c5102de50b0fc1.zip | |
Puts out burning tinderbox (oops, AST nodes don't have def_ids/anns).
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |
