1
Fork 0

Remove a simidgeon of dead code.

This commit is contained in:
Paul Stansifer 2011-06-23 03:23:29 +08:00
parent cc2a514cdc
commit fe0925678c

View file

@ -1600,14 +1600,8 @@ fn parse_block(&parser p) -> ast::block {
expect(p, token::LBRACE);
while (p.peek() != token::RBRACE) {
alt (p.peek()) {
case (token::RBRACE) {
// empty; fall through to next iteration
}
case (token::SEMI) {
p.bump();
// empty
p.bump(); // empty
}
case (_) {
auto stmt = parse_stmt(p);
@ -1630,7 +1624,6 @@ fn parse_block(&parser p) -> ast::block {
}
case (none) {
// Not an expression statement.
stmts += [stmt];
if (p.get_file_type() == SOURCE_FILE