File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
trunk/src/comp/syntax/parse Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 6e2a7bff7faf040b1eced0ee3547b28f6962cedc
2
+ refs/heads/master: e3552da0e60eec7a018ddb2a2212d03d4f6fa338
Original file line number Diff line number Diff line change @@ -1336,11 +1336,7 @@ fn parse_alt_expr(p: &parser) -> @ast::expr {
1336
1336
// Optionally eat the case keyword.
1337
1337
// FIXME remove this (and the optional parens) once we've updated our
1338
1338
// code to not use the old syntax
1339
- eat_word ( p, "case" ) ;
1340
- let parens = false ;
1341
- if p. peek ( ) == token:: LPAREN { parens = true ; p. bump ( ) ; }
1342
1339
let pats = parse_pats ( p) ;
1343
- if parens { expect ( p, token:: RPAREN ) ; }
1344
1340
let blk = parse_block ( p) ;
1345
1341
arms += ~[ { pats: pats, block: blk} ] ;
1346
1342
}
You can’t perform that action at this time.
0 commit comments