diff options
| author | Graydon Hoare <[email protected]> | 2011-03-14 16:59:04 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-14 16:59:04 -0700 |
| commit | 7f5bffc3ea8545be1916dd089e4f25a360c83950 (patch) | |
| tree | 877d7e430339360c8645a1983707d04088d1cba2 /src/comp/front/ast.rs | |
| parent | Rename check_assignment_like to check_assignment since it turned out not to b... (diff) | |
| parent | Merge branch 'master' into recursive-elseif (diff) | |
| download | rust-7f5bffc3ea8545be1916dd089e4f25a360c83950.tar.xz rust-7f5bffc3ea8545be1916dd089e4f25a360c83950.zip | |
Merge remote branch 'brson/recursive-elseif'
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 8507298d..a7ff64fa 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -223,7 +223,7 @@ tag expr_ { expr_unary(unop, @expr, ann); expr_lit(@lit, ann); expr_cast(@expr, @ty, ann); - expr_if(@expr, block, vec[tup(@expr, block)], option.t[block], ann); + expr_if(@expr, block, option.t[@expr], ann); expr_while(@expr, block, ann); expr_for(@decl, @expr, block, ann); expr_for_each(@decl, @expr, block, ann); |