aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-29 12:37:48 +0100
committerAleksey Kladov <[email protected]>2018-07-29 12:37:48 +0100
commitad188d4c3db34f035408afbdd6d2f3c308121f0a (patch)
tree0c6cdea50ab664a361fa4c0f6b99cb53ce00529b /tools
parentc12450fb4e30c3418555e47d045bb9fd4318a10a (diff)
kill old tree
Diffstat (limited to 'tools')
-rw-r--r--tools/src/bin/parse.rs8
1 files changed, 4 insertions, 4 deletions
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;
2 2
3use std::io::Read; 3use std::io::Read;
4 4
5use libsyntax2::{parse, tokenize}; 5use libsyntax2::{parse_green, tokenize};
6use libsyntax2::utils::dump_tree; 6use libsyntax2::utils::dump_tree_green;
7 7
8fn main() { 8fn main() {
9 let text = read_input(); 9 let text = read_input();
10 let tokens = tokenize(&text); 10 let tokens = tokenize(&text);
11 let file = parse(text, &tokens); 11 let file = parse_green(text, &tokens);
12 let tree = dump_tree(&file); 12 let tree = dump_tree_green(&file);
13 println!("{}", tree); 13 println!("{}", tree);
14} 14}
15 15