diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-01-19 01:03:57 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-01-19 01:04:59 -0800 |
| commit | 5b028f527f2c487a5f4196fdf3cfc7a2acef74ff (patch) | |
| tree | 5888a216866e8d94d3211dbf39bb943d64d47017 /src/comp/syntax/parse/parser.rs | |
| parent | 9df03068897602d4377a35c0ae3cf2467666a039 (diff) | |
| download | rust-5b028f527f2c487a5f4196fdf3cfc7a2acef74ff.tar.gz rust-5b028f527f2c487a5f4196fdf3cfc7a2acef74ff.zip | |
Remove support for the '.' after a nullary tag in a pattern
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
Diffstat (limited to 'src/comp/syntax/parse/parser.rs')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 7515a393ee9..0da193c2078 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -1485,8 +1485,6 @@ fn parse_pat(p: parser) -> @ast::pat { } } else if is_plain_ident(p) && alt p.look_ahead(1u) { - // Take this out once the libraries change - token::DOT | token::LPAREN | token::LBRACKET | token::LT { false @@ -1508,8 +1506,6 @@ fn parse_pat(p: parser) -> @ast::pat { args = a.node; hi = a.span.hi; } - // take this out once the libraries change - token::DOT. { args = []; p.bump(); } _ { args = []; } } // at this point, we're not sure whether it's a tag or a bind |
