mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Fix @(static) error message bug
This commit is contained in:
+1
-1
@@ -496,7 +496,7 @@ gb_internal bool is_entity_local_variable(Entity *e) {
|
|||||||
if (e->scope == nullptr) {
|
if (e->scope == nullptr) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (e->flags & (EntityFlag_ForValue|EntityFlag_SwitchValue)) {
|
if (e->flags & (EntityFlag_ForValue|EntityFlag_SwitchValue|EntityFlag_Static)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user