about summary refs log tree commit diff
path: root/src/comp/syntax/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax/parse/parser.rs')
-rw-r--r--src/comp/syntax/parse/parser.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index 8ea55673207..1cb2ee52dd5 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -807,6 +807,9 @@ fn parse_bottom_expr(&parser p) -> @ast::expr {
         p.bump();
         auto blk = ast::mac_embed_block(parse_block_tail(p));
         ret mk_mac_expr(p, lo, p.get_hi_pos(), blk);
+    } else if (p.peek() == token::ELLIPSIS) {
+        p.bump();
+        ret mk_mac_expr(p, lo, p.get_hi_pos(), ast::mac_ellipsis)
     } else if (p.peek() == token::TILDE) {
         p.bump();
         alt (p.peek()) {