fixed a serious codegen bug where for loops with no variable declarations would misalign the internal stack tracker of the compiler

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40760
This commit is contained in:
David Anderson 2007-05-07 04:17:24 +00:00
parent 3493467771
commit 45d0589585

View File

@ -5868,6 +5868,8 @@ static int dofor(void)
declared=save_decl;
delete_symbols(&loctab,nestlevel,FALSE,TRUE);
nestlevel=save_nestlevel; /* reset 'compound statement' nesting level */
} else {
popstacklist(0);
} /* if */
index=endlessloop ? tENDLESS : tFOR;