Print out tokens as they come

This commit is contained in:
Eryn Wells 2016-12-23 17:46:36 -07:00
parent b1051f5f74
commit e6ca40122e

View file

@ -8,5 +8,7 @@ fn main() {
lexer::hello(&s);
let lexer = lexer::Lexer::new(String::from("((abc))"));
for t in lexer { }
for t in lexer {
println!("token = {}", t);
}
}