Rename a field (so that macros can mention it).
This commit is contained in:
parent
b803326063
commit
d2f9b15052
9 changed files with 13 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue