aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-12-04 22:01:51 +0000
committergingerBill <bill@gingerbill.org>2017-12-04 22:01:51 +0000
commitf0de99405982e8e2e2a121fccf81e32e4c221e8c (patch)
tree07a78ee9d1e7803772c42bd0a04fa9624152c0e5 /src/checker.cpp
parentebb2a9812ced9c3f53085a57843f42b95086ae87 (diff)
Make core library use procedure groupings rather than normal overloading
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 78afab4ad..7c9f20135 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -780,7 +780,7 @@ Entity *scope_insert_entity(Scope *s, Entity *entity) {
HashKey key = hash_string(name);
Entity **found = map_get(&s->elements, key);
-#if 1
+#ifndef DISABLE_PROCEDURE_OVERLOADING
// IMPORTANT NOTE(bill): Procedure overloading code
Entity *prev = nullptr;
if (found) {