summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-03-09 09:12:38 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-03-09 09:12:38 (GMT)
commit0f443aa5cb126f232e2ffb85bb63b1e93f89564c (patch)
tree0ad84f916420342085164f7dfc0af2fa1bc87e2e /generic/tclBasic.c
parente7ae31d6d3e1a343991401b5795fc1b04c6e8236 (diff)
downloadtcl-0f443aa5cb126f232e2ffb85bb63b1e93f89564c.zip
tcl-0f443aa5cb126f232e2ffb85bb63b1e93f89564c.tar.gz
tcl-0f443aa5cb126f232e2ffb85bb63b1e93f89564c.tar.bz2
Move the implementation of [try] from Tcl to C. Not yet bytecoded.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index b1a8d35..9f4d0dc 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.385 2009/02/03 23:34:33 nijtmans Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.386 2009/03/09 09:12:39 dkf Exp $
*/
#include "tclInt.h"
@@ -210,6 +210,7 @@ static const CmdInfo builtInCmds[] = {
{"switch", Tcl_SwitchObjCmd, TclCompileSwitchCmd, NULL, 1},
{"throw", Tcl_ThrowObjCmd, NULL, NULL, 1},
{"trace", Tcl_TraceObjCmd, NULL, NULL, 1},
+ {"try", Tcl_TryObjCmd, NULL, TclNRTryObjCmd, 1},
{"unset", Tcl_UnsetObjCmd, NULL, NULL, 1},
{"uplevel", Tcl_UplevelObjCmd, NULL, TclNRUplevelObjCmd, 1},
{"upvar", Tcl_UpvarObjCmd, TclCompileUpvarCmd, NULL, 1},