Skip to content

Commit f8fec55

Browse files
authored
Merge pull request #433 from Daniel-Cortez/predef-array-fix
Fix assertion failure `glb_declared==0`
2 parents 6fd5198 + ccb8980 commit f8fec55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/compiler/sc1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,8 @@ int pc_compile(int argc, char *argv[])
685685
sc_status=statSECOND;
686686
else
687687
sc_status=statWRITE; /* allow to write --this variable was reset by resetglobals() */
688-
setstringconstants();
689688
writeleader(&glbtab);
689+
setstringconstants();
690690
setfileconst(inpfname);
691691
insert_dbgfile(inpfname);
692692
if (!strempty(incfname)) {

0 commit comments

Comments
 (0)