fix binop rhs precedence

This commit is contained in:
nora 2021-10-31 20:44:11 +01:00
parent 7b1c7335c2
commit 87790d4049
4 changed files with 20 additions and 25 deletions

View file

@ -20,9 +20,7 @@ pub fn run_program(program: &str) {
match ast {
Ok(ast) => println!("{:#?}", ast),
Err(err) => {
eprintln!("{:?}", err)
}
Err(err) => errors::display_error(program, err),
}
} else {
errors