From 146f94987b85cac730a1bde68d0e16d6907f79c0 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Sat, 16 Aug 2008 14:27:28 +0000 Subject: fix last commit --- generic/tclExecute.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 950df0d..cc7e4bc 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -14,7 +14,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.404 2008/08/16 14:00:08 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.405 2008/08/16 14:27:28 msofer Exp $ */ #include "tclInt.h" @@ -1971,6 +1971,9 @@ TclExecuteByteCode( * reset, now process the return. */ + NRE_ASSERT(iPtr->cmdFramePtr == bcFramePtr); + iPtr->cmdFramePtr = bcFramePtr->nextPtr; + if (result == TCL_OK) { /* * Reset the interp's result to avoid possible duplications of -- cgit v0.12