summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2010-04-24 17:07:31 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2010-04-24 17:07:31 (GMT)
commiteac8ecf3bb3d3d4cc99c78f12abf28cf9e408174 (patch)
treed59a6f9ca7c0173219c9823ef65353c715633f70 /generic/tclExecute.c
parent31f9ebcae6f4c9e30de64b164c8e35f1f13db6e1 (diff)
downloadtcl-eac8ecf3bb3d3d4cc99c78f12abf28cf9e408174.zip
tcl-eac8ecf3bb3d3d4cc99c78f12abf28cf9e408174.tar.gz
tcl-eac8ecf3bb3d3d4cc99c78f12abf28cf9e408174.tar.bz2
* generic/tclBasic.test: modify api of TclSpliceTailcall()
* generic/tclExecute.c: to fix yieldTo, which had not survived * generic/tclInt.h: the latest mods to tailcall. Thanks kbk for detecting the problem.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index a7212ef..3c440c3 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.476 2010/04/19 15:43:36 dkf Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.477 2010/04/24 17:07:32 msofer Exp $
*/
#include "tclInt.h"
@@ -2872,7 +2872,7 @@ TclExecuteByteCode(
goto checkForCatch;
}
iPtr->varFramePtr->tailcallPtr = param;
- TclSpliceTailcall(interp, param);
+ TclSpliceTailcall(interp, param, 1);
goto abnormalReturn;
case TCL_NR_YIELD_TYPE: { /* [yield] */
CoroutineData *corPtr = iPtr->execEnvPtr->corPtr;