about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-18 11:37:19 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-18 13:09:50 -0700
commitec898244f7b543dfe4c5a04fd42e638d7c521f7b (patch)
tree67f8f21d39c8dc25b78cb3dae72a7c3620feb383 /src/comp/syntax/parse
parent250cc45c3bf4fc3e623e72b8b36d66a4e0fb1dcf (diff)
downloadrust-ec898244f7b543dfe4c5a04fd42e638d7c521f7b.tar.gz
rust-ec898244f7b543dfe4c5a04fd42e638d7c521f7b.zip
Remove seq_kind from ast::expr_vec
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/parser.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index da033bd9f1f..9357b11fa03 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -885,7 +885,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
         let es =
             parse_seq_to_end(token::RBRACKET, some(token::COMMA), parse_expr,
                              p);
-        ex = ast::expr_vec(es, mut, ast::sk_unique);
+        ex = ast::expr_vec(es, mut);
     } else if (p.peek() == token::POUND_LT) {
         p.bump();
         let ty = parse_ty(p, false);
@@ -909,7 +909,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
             let es =
                 parse_seq_to_end(token::RBRACKET, some(token::COMMA),
                                  parse_expr, p);
-            ex = ast::expr_vec(es, mut, ast::sk_unique);
+            ex = ast::expr_vec(es, mut);
           }
           token::LIT_STR(s) {
             p.bump();
@@ -1079,7 +1079,7 @@ fn parse_syntax_ext_naked(p: &parser, lo: uint) -> @ast::expr {
     };
     let hi = es.span.hi;
     let e = mk_expr(p, es.span.lo, hi,
-                    ast::expr_vec(es.node, ast::imm, ast::sk_rc));
+                    ast::expr_vec(es.node, ast::imm));
     ret mk_mac_expr(p, lo, hi, ast::mac_invoc(pth, e, none));
 }
 
@@ -1636,7 +1636,7 @@ fn stmt_ends_with_semi(stmt: &ast::stmt) -> bool {
       }
       ast::stmt_expr(e, _) {
         ret alt e.node {
-              ast::expr_vec(_, _, _) { true }
+              ast::expr_vec(_, _) { true }
               ast::expr_rec(_, _) { true }
               ast::expr_tup(_) { true }
               ast::expr_call(_, _) { true }