aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-02-15 12:20:13 -0800
committerGraydon Hoare <[email protected]>2011-02-15 12:20:13 -0800
commit2bba49a9feed613c2f018d5aa751df3c7a49a3d6 (patch)
tree495262f6ff2520628ae0f3947d7b6f92d7ba7256 /src/comp/front/ast.rs
parentAdd basic front-end support for 'for each' loops. (diff)
downloadrust-2bba49a9feed613c2f018d5aa751df3c7a49a3d6.tar.xz
rust-2bba49a9feed613c2f018d5aa751df3c7a49a3d6.zip
Fix missing path in expr_ext.
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 9e43d349..520f5557 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -160,7 +160,7 @@ tag expr_ {
expr_field(@expr, ident, ann);
expr_index(@expr, @expr, ann);
expr_path(path, option.t[def], ann);
- expr_ext(vec[@expr], option.t[@expr], ann);
+ expr_ext(path, vec[@expr], option.t[@expr], ann);
expr_fail;
expr_ret(option.t[@expr]);
expr_put(option.t[@expr]);