summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-31 20:01:33 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-31 20:01:33 (GMT)
commitd9e5311f467b0b01c8aa09875bd1bae9eafe91dc (patch)
tree5649b5b72171fbe94dbe92f7d7af638a8713b4e5 /generic/tclBasic.c
parent48251df30f4df754d76577f0bb3f1a230a205ad4 (diff)
downloadtcl-d9e5311f467b0b01c8aa09875bd1bae9eafe91dc.zip
tcl-d9e5311f467b0b01c8aa09875bd1bae9eafe91dc.tar.gz
tcl-d9e5311f467b0b01c8aa09875bd1bae9eafe91dc.tar.bz2
nr-enabling [for]; [while] made to reuse [for]'s infrastructure.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index b4a59d5..019de9c 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.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: tclBasic.c,v 1.345 2008/07/31 18:29:38 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.346 2008/07/31 20:01:38 msofer Exp $
*/
#include "tclInt.h"
@@ -190,7 +190,7 @@ static const CmdInfo builtInCmds[] = {
{"error", Tcl_ErrorObjCmd, NULL, NULL, 1},
{"eval", Tcl_EvalObjCmd, NULL, NULL, 1},
{"expr", Tcl_ExprObjCmd, TclCompileExprCmd, NULL, 1},
- {"for", Tcl_ForObjCmd, TclCompileForCmd, NULL, 1},
+ {"for", Tcl_ForObjCmd, TclCompileForCmd, TclNRForObjCmd, 1},
{"foreach", Tcl_ForeachObjCmd, TclCompileForeachCmd, NULL, 1},
{"format", Tcl_FormatObjCmd, NULL, NULL, 1},
{"global", Tcl_GlobalObjCmd, TclCompileGlobalCmd, NULL, 1},