aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-12-20 18:58:18 -0800
committerPatrick Walton <[email protected]>2010-12-20 18:58:18 -0800
commit5cbf8889d0e8bc0e4b52c19c89e4578c0fc65eac (patch)
treec110bc7ad2a237a7cde11057ea2c7761039bb1ca /src/comp/front
parentNull-check on obj box ptr, init to null. Un-XFAIL simple-obj.rs. (diff)
downloadrust-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.rs1
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);