mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-10 05:11:37 -07:00
Correct map usage
This commit is contained in:
@@ -140,7 +140,7 @@ gb_internal bool lb_init_generator(lbGenerator *gen, Checker *c) {
|
||||
}
|
||||
|
||||
gen->default_module.gen = gen;
|
||||
map_set(&gen->modules, cast(void *)nullptr, &gen->default_module);
|
||||
map_set(&gen->modules, cast(void *)1, &gen->default_module);
|
||||
lb_init_module(&gen->default_module, c);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user