aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-02-27 22:35:27 -0500
committerGraydon Hoare <[email protected]>2011-03-02 10:28:15 -0800
commitc1e6f5328c3f46884ed7a7e29c780e307b02100a (patch)
tree10ed869d28e3a9a4eb4a343151d6b1af7791b8d6 /src/comp/front/ast.rs
parentAdd pretty printing for expr_call, expr_path, and more literals (diff)
downloadrust-c1e6f5328c3f46884ed7a7e29c780e307b02100a.tar.xz
rust-c1e6f5328c3f46884ed7a7e29c780e307b02100a.zip
Make the expanded expression in expr_ext not optional
Diffstat (limited to 'src/comp/front/ast.rs')
-rw-r--r--src/comp/front/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs
index 18add3bd..694a709d 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -185,7 +185,7 @@ tag expr_ {
expr_field(@expr, ident, ann);
expr_index(@expr, @expr, ann);
expr_path(path, option.t[def], ann);
- expr_ext(path, vec[@expr], option.t[@expr], option.t[@expr], ann);
+ expr_ext(path, vec[@expr], option.t[@expr], @expr, ann);
expr_fail;
expr_ret(option.t[@expr]);
expr_put(option.t[@expr]);