diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-19 15:32:39 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-20 11:04:00 -0700 |
| commit | bc1b6b594ba87cbfb229f60028d0a08617a15baa (patch) | |
| tree | b8ba6f71fadf0b9829b41f640c689a4d1e190d3e /src/comp/syntax/parse | |
| parent | a7d837be74a8fc5a81185599b647974d08275e62 (diff) | |
| download | rust-bc1b6b594ba87cbfb229f60028d0a08617a15baa.tar.gz rust-bc1b6b594ba87cbfb229f60028d0a08617a15baa.zip | |
Stop parsing ~[] vector syntax
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 8 |
1 files changed, 0 insertions, 8 deletions
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 = |
