mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix @(export) for global variable declarations
This commit is contained in:
@@ -2380,6 +2380,7 @@ DECL_ATTRIBUTE_PROC(var_decl_attribute) {
|
|||||||
if (ac->thread_local_model != "") {
|
if (ac->thread_local_model != "") {
|
||||||
error(elem, "An exported variable cannot be thread local");
|
error(elem, "An exported variable cannot be thread local");
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
} else if (name == "link_name") {
|
} else if (name == "link_name") {
|
||||||
if (ev.kind == ExactValue_String) {
|
if (ev.kind == ExactValue_String) {
|
||||||
ac->link_name = ev.value_string;
|
ac->link_name = ev.value_string;
|
||||||
|
|||||||
Reference in New Issue
Block a user