Skip to content

Commit 7f57518

Browse files
committed
remove outdated comment
I believe this comment is now irrelevant, as a result of commit 6757053
1 parent e59dd48 commit 7f57518

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3233,18 +3233,6 @@ impl<'a> Parser<'a> {
32333233
} else if is_ident(&self.token)
32343234
&& !token::is_any_keyword(&self.token)
32353235
&& self.look_ahead(1, |t| *t == token::NOT) {
3236-
// parse a macro invocation. Looks like there's serious
3237-
// overlap here; if this clause doesn't catch it (and it
3238-
// won't, for brace-delimited macros) it will fall through
3239-
// to the macro clause of parse_item_or_view_item. This
3240-
// could use some cleanup, it appears to me.
3241-
3242-
// whoops! I now have a guess: I'm guessing the "parens-only"
3243-
// rule here is deliberate, to allow macro users to use parens
3244-
// for things that should be parsed as stmt_mac, and braces
3245-
// for things that should expand into items. Tricky, and
3246-
// somewhat awkward... and probably undocumented. Of course,
3247-
// I could just be wrong.
32483236

32493237
check_expected_item(self, !item_attrs.is_empty());
32503238

0 commit comments

Comments
 (0)