diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2008-08-05 15:52:23 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2008-08-05 15:52:23 (GMT) |
commit | 163c13b1f004afa81c6aaa1fdc93a95ca319cebd (patch) | |
tree | 70101b968b358a74c761509a7ce3dbdca82d047a /generic/tclExecute.c | |
parent | 904ad53bcc04a8e011a2e168389dbe29cd52fbcb (diff) | |
download | tcl-163c13b1f004afa81c6aaa1fdc93a95ca319cebd.zip tcl-163c13b1f004afa81c6aaa1fdc93a95ca319cebd.tar.gz tcl-163c13b1f004afa81c6aaa1fdc93a95ca319cebd.tar.bz2 |
* generic/tclExecute.c: Fix for [Bug 2038069] by dgp.
* tests/execute.test:
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 5d33e3c..87695ba 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.397 2008/08/04 18:32:29 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.398 2008/08/05 15:52:23 msofer Exp $ */ #include "tclInt.h" @@ -2712,7 +2712,8 @@ TclExecuteByteCode( DECACHE_STACK_INFO(); - result = TclNREvalObjv(interp, objc, objv, TCL_EVAL_NOERR, NULL); + result = TclNREvalObjv(interp, objc, objv, + (*pc == INST_EVAL_STK) ? 0 : TCL_EVAL_NOERR, NULL); result = TclNRRunCallbacks(interp, result, bottomPtr->rootPtr, 1); CACHE_STACK_INFO(); |