mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00: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) {
|
gb_internal void check_unique_package_names(Checker *c) {
|
||||||
|
ERROR_BLOCK();
|
||||||
|
|
||||||
StringMap<AstPackage *> pkgs = {}; // Key: package name
|
StringMap<AstPackage *> pkgs = {}; // Key: package name
|
||||||
string_map_init(&pkgs, 2*c->info.packages.count);
|
string_map_init(&pkgs, 2*c->info.packages.count);
|
||||||
defer (string_map_destroy(&pkgs));
|
defer (string_map_destroy(&pkgs));
|
||||||
|
|||||||
Reference in New Issue
Block a user