Fixed bug where static declarations would crash

This commit is contained in:
David Anderson
2005-09-06 21:34:33 +00:00
parent 5705e69abb
commit 67f012b74a
3 changed files with 5 additions and 3 deletions

View File

@ -581,6 +581,8 @@ SC_FUNC int assemble(FILE *fout,FILE *fin)
constvalue *constptr;
cell mainaddr;
fcurrent = -1;
/* if compression failed, restart the assembly with compaction switched off */
if (setjmp(compact_err)!=0) {
assert(sc_compress); /* cannot arrive here if compact encoding was disabled */