aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorLindsey Kuper <[email protected]>2011-03-29 15:51:53 -0700
committerLindsey Kuper <[email protected]>2011-03-29 15:59:15 -0700
commit55fbed3d8d7078bfd3864e64cc044cbe876c5d1a (patch)
tree3c0a53f8f59dbda781fda2a7ad1e5afcce719de2 /src/comp/front/ast.rs
parentIgnore 'mutable foo' in plain field contexts. (diff)
downloadrust-55fbed3d8d7078bfd3864e64cc044cbe876c5d1a.tar.xz
rust-55fbed3d8d7078bfd3864e64cc044cbe876c5d1a.zip
Beginnings of support for magical self prefix; nothing profound happening yet.
Diffstat (limited to 'src/comp/front/ast.rs')
-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 4493bea8..9e7c3cc1 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -252,6 +252,7 @@ tag expr_ {
expr_tup(vec[elt], ann);
expr_rec(vec[field], option.t[@expr], ann);
expr_call(@expr, vec[@expr], ann);
+ expr_call_self(@expr, vec[@expr], ann);
expr_bind(@expr, vec[option.t[@expr]], ann);
expr_spawn(spawn_dom, option.t[str], @expr, vec[@expr], ann);
expr_binary(binop, @expr, @expr, ann);