about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorJohn Clements <clements@racket-lang.org>2014-07-07 14:27:07 -0700
committerJohn Clements <clements@racket-lang.org>2014-07-08 16:27:37 -0700
commit7f575186f988ecc489af95b874afd4f82ccaccd0 (patch)
tree54f4d1f623c92e44fa174e07fb15e0569aecd0d6 /src/libsyntax/parse/parser.rs
parente59dd484c2cbdba5aca039f8895532599914d550 (diff)
downloadrust-7f575186f988ecc489af95b874afd4f82ccaccd0.tar.gz
rust-7f575186f988ecc489af95b874afd4f82ccaccd0.zip
remove outdated comment
I believe this comment is now irrelevant, as a result of
commit 6757053cffb585249105fbd76f
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 584670cc654..b77b366021c 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3233,18 +3233,6 @@ impl<'a> Parser<'a> {
         } else if is_ident(&self.token)
             && !token::is_any_keyword(&self.token)
             && self.look_ahead(1, |t| *t == token::NOT) {
-            // parse a macro invocation. Looks like there's serious
-            // overlap here; if this clause doesn't catch it (and it
-            // won't, for brace-delimited macros) it will fall through
-            // to the macro clause of parse_item_or_view_item. This
-            // could use some cleanup, it appears to me.
-
-            // whoops! I now have a guess: I'm guessing the "parens-only"
-            // rule here is deliberate, to allow macro users to use parens
-            // for things that should be parsed as stmt_mac, and braces
-            // for things that should expand into items. Tricky, and
-            // somewhat awkward... and probably undocumented. Of course,
-            // I could just be wrong.
 
             check_expected_item(self, !item_attrs.is_empty());