about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-01 17:17:28 -0700
committerGitHub <noreply@github.com>2016-08-01 17:17:28 -0700
commit1ece9ca968ab121082481b860e00c470182f0bae (patch)
treead4d713392eb575b143d6c38389963db2c6b73a4 /src/libsyntax/parse
parent28ce3e8a55b21a285f7075612d140a44b42eb889 (diff)
parentdc259de2e394a066a9e9e616890d12867b2d8a98 (diff)
downloadrust-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.rs2
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)
 }