diff options
author | davygrvy <davygrvy@pobox.com> | 2003-12-24 04:18:18 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2003-12-24 04:18:18 (GMT) |
commit | 5d224fb11538aa654ba2028f75e5ffa06df2c579 (patch) | |
tree | eff546c6e792fecd4310f81379419c1d68d63c28 /generic/tclCmdMZ.c | |
parent | bdb55bff6176c625c664d4ea5a4ec5187839d7a8 (diff) | |
download | tcl-5d224fb11538aa654ba2028f75e5ffa06df2c579.zip tcl-5d224fb11538aa654ba2028f75e5ffa06df2c579.tar.gz tcl-5d224fb11538aa654ba2028f75e5ffa06df2c579.tar.bz2 |
All uses of 'panic' (the macro) changed
to 'Tcl_Panic' (the function). The #define
of panic in tcl.h clearly states it is
deprecated in the comments.
[Patch 865264]
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r-- | generic/tclCmdMZ.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index d1961b7..1077418 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdMZ.c,v 1.97 2003/12/14 18:32:36 dkf Exp $ + * RCS: @(#) $Id: tclCmdMZ.c,v 1.98 2003/12/24 04:18:18 davygrvy Exp $ */ #include "tclInt.h" @@ -2515,7 +2515,7 @@ Tcl_SubstObjCmd(dummy, interp, objc, objv) break; } default: { - panic("Tcl_SubstObjCmd: bad option index to SubstOptions"); + Tcl_Panic("Tcl_SubstObjCmd: bad option index to SubstOptions"); } } } @@ -2868,7 +2868,7 @@ Tcl_SwitchObjCmd(dummy, interp, objc, objv) * This shouldn't happen since we've checked that the * last body is not a continuation... */ - panic("fall-out when searching for body to match pattern"); + Tcl_Panic("fall-out when searching for body to match pattern"); } if (strcmp(Tcl_GetString(objv[j]), "-") != 0) { break; |