diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-01-17 00:28:07 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-01-17 00:28:07 (GMT) |
| commit | da69e27f9aa5ba1d61ea60a4f944e8a5bff87825 (patch) | |
| tree | 400fb6a62c9934846c003b2748698b373c84358b /generic/tclBasic.c | |
| parent | 91677fcca13e32106d181d98486bb2afd032aa92 (diff) | |
| download | tcl-da69e27f9aa5ba1d61ea60a4f944e8a5bff87825.zip tcl-da69e27f9aa5ba1d61ea60a4f944e8a5bff87825.tar.gz tcl-da69e27f9aa5ba1d61ea60a4f944e8a5bff87825.tar.bz2 | |
Basic implementation of TIP#57 - TclX's [lassign] command into Tcl core
Not a direct copy
* Better use of Tcl object API
* More extensive test suite
* More extensive documentation
Diffstat (limited to 'generic/tclBasic.c')
| -rw-r--r-- | generic/tclBasic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index d601396..09fe3e6 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,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.94 2003/12/24 04:18:18 davygrvy Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.95 2004/01/17 00:28:08 dkf Exp $ */ #include "tclInt.h" @@ -114,6 +114,8 @@ static CmdInfo builtInCmds[] = { (CompileProc *) NULL, 1}, {"lappend", (Tcl_CmdProc *) NULL, Tcl_LappendObjCmd, TclCompileLappendCmd, 1}, + {"lassign", (Tcl_CmdProc *) NULL, Tcl_LassignObjCmd, + (CompileProc *) NULL, 1}, {"lindex", (Tcl_CmdProc *) NULL, Tcl_LindexObjCmd, TclCompileLindexCmd, 1}, {"linsert", (Tcl_CmdProc *) NULL, Tcl_LinsertObjCmd, |
