diff options
| author | Graydon Hoare <[email protected]> | 2010-12-09 17:34:44 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-12-09 17:34:44 -0800 |
| commit | 4e1046a5087f01a49e63a91f85ff22cc011848c4 (patch) | |
| tree | 4174b010e1891f9be6cae96e21254d33def7ed98 /src/comp/front | |
| parent | Fix bug in parse rule for expr_index. (diff) | |
| download | rust-4e1046a5087f01a49e63a91f85ff22cc011848c4.tar.xz rust-4e1046a5087f01a49e63a91f85ff22cc011848c4.zip | |
Fix another bug in expr_index parse rule.
Diffstat (limited to 'src/comp/front')
| -rw-r--r-- | src/comp/front/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index 45d8a371..dd5df9b5 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -499,7 +499,7 @@ impure fn parse_path_expr(parser p) -> @ast.expr { case (token.LPAREN) { p.bump(); - auto ix = parse_bottom_expr(p); + auto ix = parse_expr(p); hi = ix.span; expect(p, token.RPAREN); auto e_ = ast.expr_index(e, ix, ast.ann_none); |