fix stackoverflow

This commit is contained in:
nora 2021-11-06 21:32:49 +01:00
parent 141e8e09bf
commit 8952e8082a
4 changed files with 201 additions and 37 deletions

View file

@ -5,6 +5,7 @@ mod lex;
mod parse;
pub use lex::*;
pub use parse::*;
pub fn run_program(program: &str) {
let lexer = lex::Lexer::lex(program);