[parser] Print things in main() as the thing
This commit is contained in:
parent
d7bffdc432
commit
027854d162
1 changed files with 3 additions and 1 deletions
|
@ -11,5 +11,7 @@ use sibilparser::Parser;
|
|||
fn main() {
|
||||
let lexer = Lexer::new("(ab)".chars());
|
||||
let parser = Parser::new(lexer);
|
||||
for thing in parser { }
|
||||
for thing in parser {
|
||||
println!("{:?}", thing);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue