mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Fix default #foo args.
This commit is contained in:
@@ -60,7 +60,7 @@ void gencontext_begin_module(GenContext *c)
|
||||
ASSERT0(!c->module && "Expected no module");
|
||||
|
||||
codegen_setup_object_names(c->code_module, &c->ir_filename, &c->asm_filename, &c->object_filename);
|
||||
|
||||
DEBUG_LOG("Emit module %s.", c->code_module->name->module);
|
||||
c->panic_var = compiler.context.panic_var;
|
||||
c->panicf = compiler.context.panicf;
|
||||
c->module = LLVMModuleCreateWithNameInContext(c->code_module->name->module, c->context);
|
||||
|
||||
Reference in New Issue
Block a user