From ad188d4c3db34f035408afbdd6d2f3c308121f0a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 29 Jul 2018 14:37:48 +0300 Subject: kill old tree --- tools/src/bin/parse.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/src/bin/parse.rs b/tools/src/bin/parse.rs index af1325bfc..5e4dc261f 100644 --- a/tools/src/bin/parse.rs +++ b/tools/src/bin/parse.rs @@ -2,14 +2,14 @@ extern crate libsyntax2; use std::io::Read; -use libsyntax2::{parse, tokenize}; -use libsyntax2::utils::dump_tree; +use libsyntax2::{parse_green, tokenize}; +use libsyntax2::utils::dump_tree_green; fn main() { let text = read_input(); let tokens = tokenize(&text); - let file = parse(text, &tokens); - let tree = dump_tree(&file); + let file = parse_green(text, &tokens); + let tree = dump_tree_green(&file); println!("{}", tree); } -- cgit v1.2.3