summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2009-12-07 20:49:28 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2009-12-07 20:49:28 (GMT)
commitddd3069fa1c4fd4dbcfd28c0486d8de3254fdae2 (patch)
treeeefa819224a7681e205b316e86470ffb3be1a907 /generic
parent60fb745f06ad64d3e8042da7ab3a837f52eafce6 (diff)
downloadtcl-ddd3069fa1c4fd4dbcfd28c0486d8de3254fdae2.zip
tcl-ddd3069fa1c4fd4dbcfd28c0486d8de3254fdae2.tar.gz
tcl-ddd3069fa1c4fd4dbcfd28c0486d8de3254fdae2.tar.bz2
* generic/tclCmdIL.c: Fix of [Bug #2910094] by aku
* tests/coroutine.test:
Diffstat (limited to 'generic')
-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;
}