summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-10-29 17:15:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-10-29 17:15:00 (GMT)
commita28599dc69a2cba4077e810abb8a1279ba5c1c53 (patch)
tree866e22da46582e953935e412a09482bddf2677d4 /generic/tclBasic.c
parent323d5b827ecb3d31ba1bf559dbfbd64100bd9b73 (diff)
downloadtcl-a28599dc69a2cba4077e810abb8a1279ba5c1c53.zip
tcl-a28599dc69a2cba4077e810abb8a1279ba5c1c53.tar.gz
tcl-a28599dc69a2cba4077e810abb8a1279ba5c1c53.tar.bz2
Compiler for some of the simpler cases of [format].
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index ab087e6..1e07161 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -218,7 +218,7 @@ static const CmdInfo builtInCmds[] = {
{"expr", Tcl_ExprObjCmd, TclCompileExprCmd, TclNRExprObjCmd, 1},
{"for", Tcl_ForObjCmd, TclCompileForCmd, TclNRForObjCmd, 1},
{"foreach", Tcl_ForeachObjCmd, TclCompileForeachCmd, TclNRForeachCmd, 1},
- {"format", Tcl_FormatObjCmd, NULL, NULL, 1},
+ {"format", Tcl_FormatObjCmd, TclCompileFormatCmd, NULL, 1},
{"global", Tcl_GlobalObjCmd, TclCompileGlobalCmd, NULL, 1},
{"if", Tcl_IfObjCmd, TclCompileIfCmd, TclNRIfObjCmd, 1},
{"incr", Tcl_IncrObjCmd, TclCompileIncrCmd, NULL, 1},