about summary refs log tree commit diff
path: root/src/libsyntax_expand/mbe/macro_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax_expand/mbe/macro_parser.rs')
-rw-r--r--src/libsyntax_expand/mbe/macro_parser.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax_expand/mbe/macro_parser.rs b/src/libsyntax_expand/mbe/macro_parser.rs
index 2edb4925512..3efe22626a9 100644
--- a/src/libsyntax_expand/mbe/macro_parser.rs
+++ b/src/libsyntax_expand/mbe/macro_parser.rs
@@ -890,6 +890,9 @@ fn may_begin_with(token: &Token, name: Name) -> bool {
 ///
 /// The parsed non-terminal.
 fn parse_nt(p: &mut Parser<'_>, sp: Span, name: Symbol) -> Nonterminal {
+    // FIXME(Centril): Consider moving this to `parser.rs` to make
+    // the visibilities of the methods used below `pub(super)` at most.
+
     if name == sym::tt {
         return token::NtTT(p.parse_token_tree());
     }