diff options
| author | Marijn Haverbeke <[email protected]> | 2011-03-25 16:28:16 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-03-27 14:11:23 +0200 |
| commit | 6ecdc04788334420db05d9894e18d1d7a605ab4f (patch) | |
| tree | aba6169530f041b59507490b9ab28b1ac2835d18 /src/comp/front/ast.rs | |
| parent | shootout: Hoist out the vector indexing on nbody; don't rely on LICM, which i... (diff) | |
| download | rust-6ecdc04788334420db05d9894e18d1d7a605ab4f.tar.xz rust-6ecdc04788334420db05d9894e18d1d7a605ab4f.zip | |
Add support for break and cont to rustc
Testing proper cleanup is hampered by
https://github.com/graydon/rust/issues/293
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index c1e363b7..b1dbd80e 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -246,6 +246,8 @@ tag expr_ { expr_path(path, option.t[def], ann); expr_ext(path, vec[@expr], option.t[@expr], @expr, ann); expr_fail; + expr_break; + expr_cont; expr_ret(option.t[@expr]); expr_put(option.t[@expr]); expr_be(@expr); |