mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 20:02:22 -07:00
Add ERROR_BLOCK() to check_unique_package_names
This commit is contained in:
@@ -5848,6 +5848,8 @@ gb_internal void check_deferred_procedures(Checker *c) {
|
||||
}
|
||||
|
||||
gb_internal void check_unique_package_names(Checker *c) {
|
||||
ERROR_BLOCK();
|
||||
|
||||
StringMap<AstPackage *> pkgs = {}; // Key: package name
|
||||
string_map_init(&pkgs, 2*c->info.packages.count);
|
||||
defer (string_map_destroy(&pkgs));
|
||||
|
||||
Reference in New Issue
Block a user