aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-11-09 23:36:10 +0000
committergingerBill <bill@gingerbill.org>2017-11-09 23:36:10 +0000
commitae3672608dcf77fdc642c77c9a3db378c0e16cd9 (patch)
treea7b5c5435a4f3bdcfa489ae048b58fef4c8d6716 /src/check_stmt.cpp
parente5c39fb2a98d878b0cf5ca6fcea3a776527628a1 (diff)
Fix link_name overriding
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 371931b1f..3c0714b77 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -1762,7 +1762,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
if (e->type == nullptr) {
e->type = init_type;
}
- ac.link_name = handle_link_name(c, e->token, ac.link_name, ac.link_prefix, ac.link_prefix_overridden);
+ ac.link_name = handle_link_name(c, e->token, ac.link_name, ac.link_prefix);
e->Variable.thread_local_model = ac.thread_local_model;
if (ac.link_name.len > 0) {