Merge pull request #433 from Daniel-Cortez/predef-array-fix

Fix assertion failure `glb_declared==0`
This commit is contained in:
Zeex 2019-07-03 14:58:11 +06:00 committed by GitHub
commit f8fec557e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -685,8 +685,8 @@ int pc_compile(int argc, char *argv[])
sc_status=statSECOND;
else
sc_status=statWRITE; /* allow to write --this variable was reset by resetglobals() */
setstringconstants();
writeleader(&glbtab);
setstringconstants();
setfileconst(inpfname);
insert_dbgfile(inpfname);
if (!strempty(incfname)) {