diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-07-06 15:53:47 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-07-06 15:53:47 -0700 |
| commit | aad0bcc8d5e1ed9cf6ca0eedae21b3aa0c67ab16 (patch) | |
| tree | 6b2cf72623e772a7e24cb71ba0fe4994d176fe4f /src/comp/syntax/parse | |
| parent | 401b6362d7f99a3cebc863cb1b8906d62e9ba79b (diff) | |
| download | rust-aad0bcc8d5e1ed9cf6ca0eedae21b3aa0c67ab16.tar.gz rust-aad0bcc8d5e1ed9cf6ca0eedae21b3aa0c67ab16.zip | |
rustc: Make AST tuple types use interior vectors
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 8923588dba4..ae102027f0a 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -520,8 +520,8 @@ fn parse_ty(&parser p) -> @ast::ty { expect(p, token::RBRACKET); } else if (eat_word(p, "tup")) { auto elems = - parse_seq(token::LPAREN, token::RPAREN, some(token::COMMA), - parse_mt, p); + parse_seq_ivec(token::LPAREN, token::RPAREN, some(token::COMMA), + parse_mt, p); hi = elems.span.hi; t = ast::ty_tup(elems.node); } else if (eat_word(p, "rec")) { |
