fix precedence

This commit is contained in:
2025-04-08 20:19:48 -04:00
parent 26e7a4da4a
commit 920199c567
4 changed files with 49 additions and 17 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ fn run_file(file: &str, gdb: bool, asm: bool) {
let mut ctx = ParserCtx::from(file);
let res = PModule::parse_node(&mut ctx);
if ctx.output.errs.is_empty() {
// println!("Parsed:");
// println!("{:#?}", res.node);
println!("Parsed:");
println!("{:#?}", res.node);
if let Some(module) = res.node.as_ref() {
let mut program = IRUProgram::new();
module.lower(&mut program, &mut ctx.output);