diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-11-07 15:30:28 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-11-13 08:57:31 -0800 |
| commit | 12b212f38c4f9633d9f0898fd726e43a1eff9405 (patch) | |
| tree | 5fa24d962270cc6b43a7e4939d72daab8770f579 /src/libsyntax/parse/parser.rs | |
| parent | f7960ac5494518268626e176481c0644345d2c35 (diff) | |
| download | rust-12b212f38c4f9633d9f0898fd726e43a1eff9405.tar.gz rust-12b212f38c4f9633d9f0898fd726e43a1eff9405.zip | |
rustc: Remove the case of foo![...] as invocation syntax. foo!(...) and foo!{...} only.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index abf3e9164b1..f02ab97921a 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1083,7 +1083,7 @@ impl Parser { if self.token == token::NOT { self.bump(); let tts = match self.token { - token::LPAREN | token::LBRACE | token::LBRACKET => { + token::LPAREN | token::LBRACE => { let ket = token::flip_delimiter(self.token); self.parse_unspanned_seq(copy self.token, ket, seq_sep_none(), @@ -3418,7 +3418,7 @@ impl Parser { self.expect(token::NOT); let id = self.parse_ident(); let tts = match self.token { - token::LPAREN | token::LBRACE | token::LBRACKET => { + token::LPAREN | token::LBRACE => { let ket = token::flip_delimiter(self.token); self.parse_unspanned_seq(copy self.token, ket, seq_sep_none(), |
