diff options
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/cli.rs (renamed from src/bin/cli/parse.rs) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/cli/parse.rs b/src/bin/cli.rs index 563ea92f6..9e513edb2 100644 --- a/src/bin/cli/parse.rs +++ b/src/bin/cli.rs | |||
@@ -3,13 +3,13 @@ extern crate libsyntax2; | |||
3 | use std::io::Read; | 3 | use std::io::Read; |
4 | 4 | ||
5 | use libsyntax2::{ | 5 | use libsyntax2::{ |
6 | parse, utils::dump_tree_green | 6 | parse, utils::dump_tree |
7 | }; | 7 | }; |
8 | 8 | ||
9 | fn main() { | 9 | fn main() { |
10 | let text = read_input(); | 10 | let text = read_input(); |
11 | let file = parse(text); | 11 | let file = parse(text); |
12 | let tree = dump_tree_green(&file); | 12 | let tree = dump_tree(&file); |
13 | println!("{}", tree); | 13 | println!("{}", tree); |
14 | } | 14 | } |
15 | 15 | ||