diff options
| author | Paul Stansifer <paul.stansifer@gmail.com> | 2011-08-10 15:38:41 -0700 |
|---|---|---|
| committer | Paul Stansifer <paul.stansifer@gmail.com> | 2011-08-15 15:35:27 -0700 |
| commit | d2f9b150529384e29db337bcdd37a72b797f6aae (patch) | |
| tree | 1690a21a2b01d3ce9643c21f23c95ca7d1cce9b7 /src/comp/syntax/parse | |
| parent | b8033260632de3963909c22e325e48253c42bb73 (diff) | |
| download | rust-d2f9b150529384e29db337bcdd37a72b797f6aae.tar.gz rust-d2f9b150529384e29db337bcdd37a72b797f6aae.zip | |
Rename a field (so that macros can mention it).
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 7f8a3aae0bf..9fdb2a0d38e 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -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(); |
