Fix possible stack overflows in interpret.c
commit977173c299b29f627ac72d411faa9038d1a24b1b
authorBert Wesarg <lebert@users.sourceforge.net>
Sat, 1 Mar 2008 00:27:32 +0000 (1 00:27 +0000)
committerBert Wesarg <lebert@users.sourceforge.net>
Sat, 1 Mar 2008 00:27:32 +0000 (1 00:27 +0000)
treee66cee7e64915e60a9d35396bd549cf68d1b5616
parentfe15424491224f04fb4674085953e53e66f70adf
Fix possible stack overflows in interpret.c

The stack overflow checks in pushSymVal() and pushArraySymVal() are after the
pushs. We fix this by using the provided PUSH() macro and fix assign() and
dupStack() also, because they directly manipulating the stack pointer too.

Closes SF#1887838 bug
source/interpret.c