diff options
| author | bors <bors@rust-lang.org> | 2013-09-25 02:15:59 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-25 02:15:59 -0700 |
| commit | f6c9ff392becd86ee22ad96cd66e137b65195f97 (patch) | |
| tree | 86226fccf2e6fdb527e5075edfaf607090748d9f /src/libsyntax/parse/parser.rs | |
| parent | 45311846145a39e6b5755a0740d53ac4ea3183a4 (diff) | |
| parent | 0269850cc22a9b09f08584d312001afd8887e89b (diff) | |
| download | rust-f6c9ff392becd86ee22ad96cd66e137b65195f97.tar.gz rust-f6c9ff392becd86ee22ad96cd66e137b65195f97.zip | |
auto merge of #9481 : jbclements/rust/minor-cleanup, r=cmr
Small stuff... might as well get it into the tree. One new test case, some issue # cleanup, remove some unused imports.
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 72e70e11bcb..74447b5dae1 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. |
