summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2009-12-07 20:49:28 (GMT)
committermsofer <msofer@noemail.net>2009-12-07 20:49:28 (GMT)
commit0f7f64e2e8943b1557401caca45a028297cd838c (patch)
treeeefa819224a7681e205b316e86470ffb3be1a907 /generic/tclCmdIL.c
parentf45f86dae62f2c66113597faba930383a0a01502 (diff)
downloadtcl-0f7f64e2e8943b1557401caca45a028297cd838c.zip
tcl-0f7f64e2e8943b1557401caca45a028297cd838c.tar.gz
tcl-0f7f64e2e8943b1557401caca45a028297cd838c.tar.bz2
* generic/tclCmdIL.c: Fix of [Bug #2910094] by aku
* tests/coroutine.test: FossilOrigin-Name: 787fb645677a2e03b4e929b34d54c1f4382100dd
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r--generic/tclCmdIL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index e84703b..9f9fdda 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -16,7 +16,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdIL.c,v 1.174 2009/11/18 21:59:51 nijtmans Exp $
+ * RCS: @(#) $Id: tclCmdIL.c,v 1.175 2009/12/07 20:49:28 msofer Exp $
*/
#include "tclInt.h"
@@ -1100,7 +1100,7 @@ InfoFrameCmd(
* A coroutine: must fix the level computations
*/
- topLevel += iPtr->execEnvPtr->corPtr->caller.cmdFramePtr->level + 1 -
+ topLevel += iPtr->execEnvPtr->corPtr->caller.cmdFramePtr->level -
iPtr->execEnvPtr->corPtr->base.cmdFramePtr->level;
}