summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-31 17:32:29 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-31 17:32:29 (GMT)
commit9df06f31b0103f7c3c7ab69c4dab6eb19021f50c (patch)
tree08e581c7bccd4d103c43b24f48a44c473ac69a15 /generic/tclBasic.c
parentcad03f83809878b3802167f7b8cd219012690cc8 (diff)
downloadtcl-9df06f31b0103f7c3c7ab69c4dab6eb19021f50c.zip
tcl-9df06f31b0103f7c3c7ab69c4dab6eb19021f50c.tar.gz
tcl-9df06f31b0103f7c3c7ab69c4dab6eb19021f50c.tar.bz2
nr-enabling [if]
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 754d464..d65d32b 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.343 2008/07/31 15:42:06 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.344 2008/07/31 17:32:29 msofer Exp $
*/
#include "tclInt.h"
@@ -194,7 +194,7 @@ static const CmdInfo builtInCmds[] = {
{"foreach", Tcl_ForeachObjCmd, TclCompileForeachCmd, NULL, 1},
{"format", Tcl_FormatObjCmd, NULL, NULL, 1},
{"global", Tcl_GlobalObjCmd, TclCompileGlobalCmd, NULL, 1},
- {"if", Tcl_IfObjCmd, TclCompileIfCmd, NULL, 1},
+ {"if", Tcl_IfObjCmd, TclCompileIfCmd, TclNRIfObjCmd, 1},
{"incr", Tcl_IncrObjCmd, TclCompileIncrCmd, NULL, 1},
{"join", Tcl_JoinObjCmd, NULL, NULL, 1},
{"lappend", Tcl_LappendObjCmd, TclCompileLappendCmd, NULL, 1},