diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-17 16:02:43 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-17 16:08:45 -0700 |
| commit | 69d4838169a0794e29fae396684937126d29e1f5 (patch) | |
| tree | 84a87850b13b76b74fef87edeb3f163e50eaf70d /src/comp/syntax/parse | |
| parent | df10df821b734b51dc7d434db979156a180a84e1 (diff) | |
| download | rust-69d4838169a0794e29fae396684937126d29e1f5.tar.gz rust-69d4838169a0794e29fae396684937126d29e1f5.zip | |
Stop parsing old-style vec types
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index f92ab2ca6bd..4ed64531319 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -568,11 +568,6 @@ fn parse_ty(p: &parser, colons_before_params: bool) -> @ast::ty { ast::ty_constr(@spanned(lo, hi, t), parse_type_constraints(p)); } - } else if (eat_word(p, "vec")) { - expect(p, token::LT); - t = ast::ty_vec(parse_mt(p)); - hi = p.get_hi_pos(); - expect_gt(p); } else if (p.peek() == token::LBRACKET) { expect(p, token::LBRACKET); t = ast::ty_ivec(parse_mt(p)); |
