Skip to content

Commit

Permalink
mbe: leave a FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Oct 16, 2019
1 parent 9dc07b0 commit 904168f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libsyntax_expand/mbe/macro_parser.rs
Expand Up @@ -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());
}
Expand Down

0 comments on commit 904168f

Please sign in to comment.