diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2010-06-05 16:24:26 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2010-06-05 16:24:26 (GMT) |
commit | 84f4fa52310247fb505be4eed77e19e48be226a0 (patch) | |
tree | 39d30bfda5d5c3bd2964a7ab8139326bf6e4fc74 /generic/tclExecute.c | |
parent | 5c5e3f51ea23ae06e71dd6b272376ed8a833aa84 (diff) | |
download | tcl-84f4fa52310247fb505be4eed77e19e48be226a0.zip tcl-84f4fa52310247fb505be4eed77e19e48be226a0.tar.gz tcl-84f4fa52310247fb505be4eed77e19e48be226a0.tar.bz2 |
* generic/tclBasic.c: Fix for #3008307: make callerPtr chains
* generic/tclExecute.c: be traversable accross coro
boundaries. Add the special coroutine CallFrame (partially
reverting commit of 2009-12-10), as it is needed for coroutines
that do not push a CF - eg, those with [eval] as command. Thanks
to Colin McCormack (coldstore) and Alexandre Ferrieux for the
hard work on this.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index aae542a..934a9fb 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.484 2010/05/31 08:54:15 nijtmans Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.485 2010/06/05 16:24:26 msofer Exp $ */ #include "tclInt.h" @@ -2084,13 +2084,11 @@ TclExecuteByteCode( * - base.cmdFramePtr not set * - need to monkey-patch the BP chain * - set the running level for the coroutine - * - insure that the coro runs in #0 */ corPtr->base.cmdFramePtr = bcFramePtr; corPtr->callerBPPtr = &BP->prevBottomPtr; corPtr->stackLevel = &TAUX; - iPtr->varFramePtr = iPtr->rootFramePtr; } if (iPtr->execEnvPtr->rewind) { |