summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-08-16 14:27:28 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-08-16 14:27:28 (GMT)
commit146f94987b85cac730a1bde68d0e16d6907f79c0 (patch)
tree4ea5258f9cc7952dd086ec2f0d7efb16d40c8b37 /generic/tclExecute.c
parent8b77a53b22e9d5980dfbb50da05351f9b9352434 (diff)
downloadtcl-146f94987b85cac730a1bde68d0e16d6907f79c0.zip
tcl-146f94987b85cac730a1bde68d0e16d6907f79c0.tar.gz
tcl-146f94987b85cac730a1bde68d0e16d6907f79c0.tar.bz2
fix last commit
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c5
1 files changed, 4 insertions, 1 deletions
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