diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-02-02 16:12:00 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-02-02 16:12:00 (GMT) |
commit | ce9bf924511484c14218bd13b2abf5cfc9967c25 (patch) | |
tree | 5d833ae8b02170afdeff4568db0b0c3b4041b30d /generic/tclBasic.c | |
parent | 10c9ce76f08286c1d9c1a229c633bf12576c25c5 (diff) | |
download | tcl-ce9bf924511484c14218bd13b2abf5cfc9967c25.zip tcl-ce9bf924511484c14218bd13b2abf5cfc9967c25.tar.gz tcl-ce9bf924511484c14218bd13b2abf5cfc9967c25.tar.bz2 |
Turned the [array] command into a true ensemble. Test changes indicate some
alteration to error messages, otherwise no change.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 2612aef..08414c8 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.439 2010/01/30 16:33:25 dkf Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.440 2010/02/02 16:12:00 dkf Exp $ */ #include "tclInt.h" @@ -194,7 +194,6 @@ static const CmdInfo builtInCmds[] = { {"append", Tcl_AppendObjCmd, TclCompileAppendCmd, NULL, 1}, {"apply", Tcl_ApplyObjCmd, NULL, TclNRApplyObjCmd, 1}, - {"array", Tcl_ArrayObjCmd, NULL, NULL, 1}, {"break", Tcl_BreakObjCmd, TclCompileBreakCmd, NULL, 1}, #ifndef EXCLUDE_OBSOLETE_COMMANDS {"case", Tcl_CaseObjCmd, NULL, NULL, 1}, @@ -750,11 +749,12 @@ Tcl_CreateInterp(void) } /* - * Create the "binary", "chan", "dict", "info" and "string" ensembles. - * Note that all these commands (and their subcommands that are not - * present in the global namespace) are wholly safe. + * Create the "array", "binary", "chan", "dict", "info" and "string" + * ensembles. Note that all these commands (and their subcommands that are + * not present in the global namespace) are wholly safe. */ + TclInitArrayCmd(interp); TclInitBinaryCmd(interp); TclInitChanCmd(interp); TclInitDictCmd(interp); |