diff --git a/lang/src/fs.rs b/lang/src/fs.rs index 7b973bc1..4528e90c 100644 --- a/lang/src/fs.rs +++ b/lang/src/fs.rs @@ -93,7 +93,7 @@ pub fn run_compiler(root_file: &str, options: Options, out: &mut Vec) -> std codegen.files = &parsed.ast; codegen.push_embeds(parsed.embeds); - codegen.generate(); + codegen.generate(0); if options.dump_asm { codegen .disasm(unsafe { std::mem::transmute::<&mut Vec, &mut String>(out) }) diff --git a/lang/src/son.rs b/lang/src/son.rs index 2661d796..d9d7f20d 100644 --- a/lang/src/son.rs +++ b/lang/src/son.rs @@ -4016,7 +4016,7 @@ mod tests { let mut codegen = super::Codegen { files, ..Default::default() }; codegen.push_embeds(embeds); - codegen.generate(); + codegen.generate(0); { let errors = codegen.errors.borrow();