Skip to content

Commit 0849747

Browse files
committed
---
yaml --- r: 4171 b: refs/heads/master c: e3552da h: refs/heads/master i: 4169: 82b6f4c 4167: c6be6eb v: v3
1 parent 2f9999f commit 0849747

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 6e2a7bff7faf040b1eced0ee3547b28f6962cedc
2+
refs/heads/master: e3552da0e60eec7a018ddb2a2212d03d4f6fa338

trunk/src/comp/syntax/parse/parser.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,11 +1336,7 @@ fn parse_alt_expr(p: &parser) -> @ast::expr {
13361336
// Optionally eat the case keyword.
13371337
// FIXME remove this (and the optional parens) once we've updated our
13381338
// 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(); }
13421339
let pats = parse_pats(p);
1343-
if parens { expect(p, token::RPAREN); }
13441340
let blk = parse_block(p);
13451341
arms += ~[{pats: pats, block: blk}];
13461342
}

0 commit comments

Comments
 (0)