diff options
| author | Michael Sullivan <sully@msully.net> | 2012-08-13 12:30:07 -0500 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-08-13 12:30:07 -0500 |
| commit | 5fd891f10b18832770d9c5253cf0c22d9744b17a (patch) | |
| tree | 058bf37a6267bf306481a1b6c8f2f39618777cfc /src/libsyntax/parse/parser.rs | |
| parent | ac4132b7fda1e2bd356a5af8d89badf3e05f7a1a (diff) | |
| download | rust-5fd891f10b18832770d9c5253cf0c22d9744b17a.tar.gz rust-5fd891f10b18832770d9c5253cf0c22d9744b17a.zip | |
Fix method mode parsing bug. Closes #3191.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 28768765192..fbfd5aa6634 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2212,7 +2212,6 @@ class parser { match copy self.token { token::BINOP(token::AND) => { // We need to make sure it isn't a mode. - self.bump(); if self.token_is_keyword(~"self", self.look_ahead(1)) || ((self.token_is_keyword(~"const", self.look_ahead(1)) || self.token_is_keyword(~"mut", self.look_ahead(1))) && |
