Skip to content

Commit 4530aab

Browse files
Wuerfel21totalspectrum
authored andcommitted
Fix assigning to global variables in C
1 parent 9bc441e commit 4530aab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backends/bytecode/outbc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,7 @@ BCCompileAssignment(BCIRBuffer *irbuf,AST *node,BCContext context,bool asExpress
12401240
}
12411241
switch (sym->kind) {
12421242
case SYM_TEMPVAR: DEBUG(node,"temp variable %s used",sym->our_name); // fall through
1243+
case SYM_LABEL:
12431244
case SYM_VARIABLE:
12441245
case SYM_LOCALVAR:
12451246
case SYM_PARAMETER:

0 commit comments

Comments
 (0)