summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2004-09-22 15:48:21 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2004-09-22 15:48:21 (GMT)
commit9cd2909333f98f2b80729361b1492be6b8da5b6c (patch)
tree7db172f915c75d1855a3c835d5b9a4989a435d62 /generic/tclExecute.c
parent9668a0e54abfdea9c4249e5ff8fffcb9acc8c96a (diff)
downloadtcl-9cd2909333f98f2b80729361b1492be6b8da5b6c.zip
tcl-9cd2909333f98f2b80729361b1492be6b8da5b6c.tar.gz
tcl-9cd2909333f98f2b80729361b1492be6b8da5b6c.tar.bz2
* generic/tclExecute.c (INST_START_CMD):
* tests/proc.test (7.2-3): fix for [Bug 729692] was incorrect whenever a loop exception was returned.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index b7edcf2..a79ab92 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.151 2004/09/21 22:45:41 dgp Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.152 2004/09/22 15:48:22 msofer Exp $
*/
#ifdef STDC_HEADERS
@@ -1335,7 +1335,8 @@ TclExecuteByteCode(interp, codePtr)
bytes = GetSrcInfoForPc(pc, codePtr, &length);
result = Tcl_EvalEx(interp, bytes, length, 0);
if (result != TCL_OK) {
- goto checkForCatch;
+ cleanup = 0;
+ goto processExceptionReturn;
}
opnd = TclGetUInt4AtPtr(pc+1);
objResultPtr = Tcl_GetObjResult(interp);