Clean up use of StringMap

This commit is contained in:
gingerBill
2023-01-13 12:12:41 +00:00
parent 1e21125527
commit 1064bcd060
4 changed files with 38 additions and 48 deletions

View File

@@ -148,6 +148,7 @@ gb_internal bool lb_init_generator(lbGenerator *gen, Checker *c) {
map_set(&gen->modules, cast(void *)pkg, m);
lb_init_module(m, c);
#else
// NOTE(bill): Probably per file is not a good idea, so leave this for later
for (AstFile *file : pkg->files) {
auto m = gb_alloc_item(permanent_allocator(), lbModule);
m->file = file;