diff options
| author | bors <bors@rust-lang.org> | 2016-08-01 17:17:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-01 17:17:28 -0700 |
| commit | 1ece9ca968ab121082481b860e00c470182f0bae (patch) | |
| tree | ad4d713392eb575b143d6c38389963db2c6b73a4 /src/libsyntax/parse | |
| parent | 28ce3e8a55b21a285f7075612d140a44b42eb889 (diff) | |
| parent | dc259de2e394a066a9e9e616890d12867b2d8a98 (diff) | |
| download | rust-1ece9ca968ab121082481b860e00c470182f0bae.tar.gz rust-1ece9ca968ab121082481b860e00c470182f0bae.zip | |
Auto merge of #35018 - cgswords:rope_tstream, r=nrc
Reimplement TokenStreams using ropes Title says it all; a reimplementation of TokenStreams as ropes. r? @nrc
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index 2147e8ec2eb..7b28952aff6 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -237,7 +237,7 @@ pub fn new_parser_from_ts<'a>(sess: &'a ParseSess, cfg: ast::CrateConfig, ts: tokenstream::TokenStream) -> Parser<'a> { - tts_to_parser(sess, ts.tts, cfg) + tts_to_parser(sess, ts.to_tts(), cfg) } |
