From bc1b6b594ba87cbfb229f60028d0a08617a15baa Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 19 Aug 2011 15:32:39 -0700 Subject: Stop parsing ~[] vector syntax --- src/comp/syntax/parse/parser.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/comp/syntax/parse') diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index ea72bcdb680..8cf53edbc9d 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -885,14 +885,6 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr { } else if p.peek() == token::TILDE { p.bump(); alt p.peek() { - token::LBRACKET. { // unique array (temporary) - p.bump(); - let mut = parse_mutability(p); - let es = - parse_seq_to_end(token::RBRACKET, some(token::COMMA), - parse_expr, p); - ex = ast::expr_vec(es, mut); - } token::LIT_STR(s) { p.bump(); let lit = -- cgit 1.4.1-3-g733a5