diff options
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index dad41e2e..c8130b0b 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -829,6 +829,16 @@ impure fn parse_bottom_expr(parser p) -> @ast.expr { } } + case (token.BREAK) { + p.bump(); + ex = ast.expr_break; + } + + case (token.CONT) { + p.bump(); + ex = ast.expr_cont; + } + case (token.PUT) { p.bump(); alt (p.peek()) { |