This commit is contained in:
John Clements 2013-09-24 12:31:24 -07:00
parent 32f97cc891
commit 876fce2751
3 changed files with 7 additions and 10 deletions

View file

@ -2035,6 +2035,11 @@ impl Parser {
// parse a single token tree from the input.
pub fn parse_token_tree(&self) -> token_tree {
// FIXME #6994: currently, this is too eager. It
// parses token trees but also identifies tt_seq's
// and tt_nonterminals; it's too early to know yet
// whether something will be a nonterminal or a seq
// yet.
maybe_whole!(deref self, nt_tt);
// this is the fall-through for the 'match' below.