Rename a field (so that macros can mention it).

This commit is contained in:
Paul Stansifer 2011-08-10 15:38:41 -07:00
parent b803326063
commit d2f9b15052
9 changed files with 13 additions and 13 deletions

View file

@ -1356,7 +1356,7 @@ fn parse_alt_expr(p: &parser) -> @ast::expr {
while p.peek() != token::RBRACE {
let pats = parse_pats(p);
let blk = parse_block(p);
arms += ~[{pats: pats, block: blk}];
arms += ~[{pats: pats, body: blk}];
}
let hi = p.get_hi_pos();
p.bump();