diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclCmdAH.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2008-10-23 Miguel Sofer <msofer@users.sf.net> + + * generic/tclCmdAH.c (ForNextCallback): handle TCL_CONTINUE in + the for body [Bug 2186888]. + 2008-10-22 Jan Nijtmans <nijtmans@users.sf.net> * generic/tcl.h: CONST -> const and white-spacing diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index 2e9b5b9..724e80b 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdAH.c,v 1.107 2008/10/17 16:32:58 dgp Exp $ + * RCS: @(#) $Id: tclCmdAH.c,v 1.108 2008/10/23 03:28:09 msofer Exp $ */ #include "tclInt.h" @@ -1763,7 +1763,7 @@ ForNextCallback( char *msg = data[3]; - if (result == TCL_OK) { + if ((result == TCL_OK) || (result == TCL_CONTINUE)) { /* * TIP #280. Make invoking context available to next script. * |