Skip to content
Snippets Groups Projects
Commit e0434b88 authored by gambas's avatar gambas
Browse files

Fix compilation of local static identifier access.

[COMPILER]
* BUG: Fix compilation of local static identifier access.
parent 912d228f
No related branches found
No related tags found
No related merge requests found
Pipeline #313420758 passed
......@@ -270,7 +270,7 @@ static void trans_identifier(int index, bool point, PATTERN next)
if (!TYPE_is_null(sym->local.type) && !point)
{
if (TYPE_is_static(sym->local.type))
CODE_push_global(sym->global.value, TRUE, FALSE);
CODE_push_global(sym->local.value, TRUE, FALSE);
else
CODE_push_local(sym->local.value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment