diff options
| author | Patrick Walton <[email protected]> | 2010-12-20 18:58:18 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-12-20 18:58:18 -0800 |
| commit | 5cbf8889d0e8bc0e4b52c19c89e4578c0fc65eac (patch) | |
| tree | c110bc7ad2a237a7cde11057ea2c7761039bb1ca /src/comp/front | |
| parent | Null-check on obj box ptr, init to null. Un-XFAIL simple-obj.rs. (diff) | |
| download | rust-5cbf8889d0e8bc0e4b52c19c89e4578c0fc65eac.tar.xz rust-5cbf8889d0e8bc0e4b52c19c89e4578c0fc65eac.zip | |
rustc: Add bind expressions to the AST
Diffstat (limited to 'src/comp/front')
| -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 f4e5e5e1..8f1a9638 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -139,6 +139,7 @@ tag expr_ { expr_tup(vec[elt], ann); expr_rec(vec[field], ann); expr_call(@expr, vec[@expr], ann); + expr_bind(@expr, vec[option.t[@expr]], ann); expr_binary(binop, @expr, @expr, ann); expr_unary(unop, @expr, ann); expr_lit(@lit, ann); |