diff options
| author | John Clements <clements@racket-lang.org> | 2013-09-24 12:31:24 -0700 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-09-24 12:31:24 -0700 |
| commit | 876fce2751c9d58fd803672809a8ad2cf2814504 (patch) | |
| tree | 7f640ded5535934eae108857de84f3cf2eb38a1c /src/libsyntax/parse/parser.rs | |
| parent | 32f97cc891a6a2857338b4fcc7bb022e609eac1c (diff) | |
| download | rust-876fce2751c9d58fd803672809a8ad2cf2814504.tar.gz rust-876fce2751c9d58fd803672809a8ad2cf2814504.zip | |
cleanup
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 4aad5c24d0f..4e64508944e 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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. |
