From dc259de2e394a066a9e9e616890d12867b2d8a98 Mon Sep 17 00:00:00 2001 From: cgswords Date: Tue, 19 Jul 2016 15:50:34 -0700 Subject: Reimplemented tokenstreams as ropes and reduced the exposed TokenStream API. --- src/libsyntax/parse/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') 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) } -- cgit 1.4.1-3-g733a5