From b95bddac7be73f827dc980aa4e8664c6ea3994d9 Mon Sep 17 00:00:00 2001 From: Jakub Doka Date: Tue, 22 Oct 2024 12:57:49 +0200 Subject: [PATCH] ups --- lang/src/fs.rs | 2 +- lang/src/son.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/src/fs.rs b/lang/src/fs.rs index 7b973bc..4528e90 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 2661d79..d9d7f20 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();