fix return error

This commit is contained in:
nora 2021-10-31 21:04:46 +01:00
parent 53c2cdb085
commit 131229686a
3 changed files with 22 additions and 9 deletions

View file

@ -19,7 +19,7 @@ pub fn run_program(program: &str) {
let ast = parse::parse(tokens);
match ast {
Ok(ast) => println!("{:#?}", ast),
Ok(ast) => println!("{:?}", ast),
Err(err) => errors::display_error(program, err),
}
} else {