From 31691b1466f757659ce6ee4444cbbd3a60e178c6 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 1 Dec 2024 05:37:03 -0500 Subject: [PATCH] Fixed issue with HashTable region detection --- gen_c_library/c_library.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gen_c_library/c_library.cpp b/gen_c_library/c_library.cpp index ee154ea..7ee7d43 100644 --- a/gen_c_library/c_library.cpp +++ b/gen_c_library/c_library.cpp @@ -235,10 +235,14 @@ int gen_main() bool found = false; found = swap_pragma_region_implementation( txt("Array"), gen_array_base, entry, containers); - if (found) break; + if (found) { + break; + } - found = swap_pragma_region_implementation( txt("Hashtable"), gen_hashtable_base, entry, containers); - if (found) break; + found = swap_pragma_region_implementation( txt("HashTable"), gen_hashtable_base, entry, containers); + if (found) { + break; + } containers.append(entry); }