diff options
| author | Brian Anderson <[email protected]> | 2011-01-28 00:09:26 -0500 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-01-28 11:12:57 -0800 |
| commit | 6b7cab3602eae7893a4efcee760600ab69d75173 (patch) | |
| tree | 0e73b029562b16641daae1b11ddf6a4396948016 /src/comp/front/ast.rs | |
| parent | Correctly handle "import foo = bar.zed;". (diff) | |
| download | rust-6b7cab3602eae7893a4efcee760600ab69d75173.tar.xz rust-6b7cab3602eae7893a4efcee760600ab69d75173.zip | |
Teach rustc to fail
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 70da87dd..10bcd5c4 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -116,6 +116,7 @@ tag stmt_ { stmt_ret(option.t[@expr]); stmt_log(@expr); stmt_check_expr(@expr); + stmt_fail; stmt_expr(@expr); } |