From: Michael D. Lowis Date: Mon, 5 Dec 2022 14:13:15 +0000 (-0500) Subject: fixed declarations of module init functions. Imports are now mostly functional X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=062127b68f195475968f7b6e0e3c9bd055a9d590;p=proto%2Fobnc.git fixed declarations of module init functions. Imports are now mostly functional --- diff --git a/cerise/backend/ssa/codegen.c b/cerise/backend/ssa/codegen.c index 66ae53a..8d552ab 100644 --- a/cerise/backend/ssa/codegen.c +++ b/cerise/backend/ssa/codegen.c @@ -174,7 +174,7 @@ void codegen_symbol(Parser* p, Symbol* sym) } else if (sym->class == SYM_MODULE) { - if (sym->module == 0) + if (!sym->forward) { printf("define "); }