mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-24 22:54:59 -07:00
fix crash when you have 2 #load_directory calls with the same path
This commit is contained in:
@@ -1345,6 +1345,8 @@ gb_internal LoadDirectiveResult check_load_directory_directive(CheckerContext *c
|
||||
map_set(&c->info->load_directory_map, call, new_cache);
|
||||
} else {
|
||||
cache->file_error = file_error;
|
||||
|
||||
map_set(&c->info->load_directory_map, call, cache);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user