From 540344acb9ebaa0141e991217c9fd9e2a5ec717a Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 21 Apr 2011 20:34:04 -0400 Subject: Fix the signature of expr_ext The extension body is just a string, not an expression. --- src/comp/front/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/front/ast.rs') diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 882b70a4..95522c0c 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -275,7 +275,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], @expr, ann); + expr_ext(path, vec[@expr], option.t[str], @expr, ann); expr_fail(ann); expr_break(ann); expr_cont(ann); -- cgit v1.2.3