1
Fork 0

Puts out burning tinderbox (oops, AST nodes don't have def_ids/anns).

This commit is contained in:
Lindsey Kuper 2011-06-21 14:07:28 -07:00
parent 84005fadbf
commit 26d8eaefa7
2 changed files with 4 additions and 5 deletions

View file

@ -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 {