Stop parsing ~[] vector syntax
This commit is contained in:
parent
a7d837be74
commit
bc1b6b594b
2 changed files with 2 additions and 10 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue