summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-31 15:42:06 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-31 15:42:06 (GMT)
commitcad03f83809878b3802167f7b8cd219012690cc8 (patch)
treec1cd6fe19b292b68cd8a7fb589a5d7753ab2367f /generic/tclBasic.c
parent0a80549aa57439939e05b98b8471c00b2af09b49 (diff)
downloadtcl-cad03f83809878b3802167f7b8cd219012690cc8.zip
tcl-cad03f83809878b3802167f7b8cd219012690cc8.tar.gz
tcl-cad03f83809878b3802167f7b8cd219012690cc8.tar.bz2
* generic/tclBasic.c: NR-enabling [catch]
* generic/tclCmdAH.c: * generic/tclInt.h: * tests/NRE.test:
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 8ffdcef..754d464 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.342 2008/07/31 14:43:43 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.343 2008/07/31 15:42:06 msofer Exp $
*/
#include "tclInt.h"
@@ -184,7 +184,7 @@ static const CmdInfo builtInCmds[] = {
#ifndef EXCLUDE_OBSOLETE_COMMANDS
{"case", Tcl_CaseObjCmd, NULL, NULL, 1},
#endif
- {"catch", Tcl_CatchObjCmd, TclCompileCatchCmd, NULL, 1},
+ {"catch", Tcl_CatchObjCmd, TclCompileCatchCmd, TclNRCatchObjCmd, 1},
{"concat", Tcl_ConcatObjCmd, NULL, NULL, 1},
{"continue", Tcl_ContinueObjCmd, TclCompileContinueCmd, NULL, 1},
{"error", Tcl_ErrorObjCmd, NULL, NULL, 1},