summary refs log tree commit diff
path: root/src/comp/front/parser.rs
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-02-27 22:35:27 -0500
committerGraydon Hoare <graydon@mozilla.com>2011-03-02 10:28:15 -0800
commitc1e6f5328c3f46884ed7a7e29c780e307b02100a (patch)
tree10ed869d28e3a9a4eb4a343151d6b1af7791b8d6 /src/comp/front/parser.rs
parent7cef1b3a0f645a3cc420a4ae9583b1fd5463e833 (diff)
Make the expanded expression in expr_ext not optional
Diffstat (limited to 'src/comp/front/parser.rs')
-rw-r--r--src/comp/front/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index 7a7a863c6c9..5fe16536a55 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -755,7 +755,7 @@ impure fn expand_syntax_ext(parser p, ast.span sp,
     if (_str.eq(extname, "fmt")) {
         auto expanded = extfmt.expand_syntax_ext(args, body);
         auto newexpr = ast.expr_ext(path, args, body,
-                                    some[@ast.expr](expanded),
+                                    expanded,
                                     ast.ann_none);
 
         ret newexpr;