summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-06-18 13:22:21 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-06-18 13:22:21 (GMT)
commita14f6d151797cd7cbdc413d2f7f338b3d4757836 (patch)
treec1133b84068f4a2c937dd2ed39cac38e8b527950 /generic/tclExecute.c
parent53accc2f4b69e7f0ef7b626635ff6ad451afe4ae (diff)
downloadtcl-a14f6d151797cd7cbdc413d2f7f338b3d4757836.zip
tcl-a14f6d151797cd7cbdc413d2f7f338b3d4757836.tar.gz
tcl-a14f6d151797cd7cbdc413d2f7f338b3d4757836.tar.bz2
generic/tclExecute.c (TEBC, INST_DONE): small bug in the panic code
for tcl-stack corruption.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index f5949af..2a340f0 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.70 2002/06/17 22:52:51 hobbs Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.71 2002/06/18 13:22:21 msofer Exp $
*/
#include "tclInt.h"
@@ -1079,6 +1079,7 @@ TclExecuteByteCode(interp, codePtr)
switch (*pc) {
case INST_DONE:
if (stackTop <= initStackTop) {
+ stackTop--;
goto abnormalReturn;
}