diff options
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r-- | generic/tclCompExpr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index 2651a51..3c43e55 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompExpr.c,v 1.31 2005/11/27 02:33:48 das Exp $ + * RCS: @(#) $Id: tclCompExpr.c,v 1.32 2006/08/10 12:15:31 dkf Exp $ */ #include "tclInt.h" @@ -333,7 +333,7 @@ CompileSubExpr( char buffer[TCL_UTF_MAX]; if (exprTokenPtr->type != TCL_TOKEN_SUB_EXPR) { - Tcl_Panic("CompileSubExpr: token type %d not TCL_TOKEN_SUB_EXPR\n", + Tcl_Panic("CompileSubExpr: token type %d not TCL_TOKEN_SUB_EXPR", exprTokenPtr->type); } code = TCL_OK; @@ -497,14 +497,14 @@ CompileSubExpr( break; default: - Tcl_Panic("CompileSubExpr: unexpected operator %d requiring special treatment\n", + Tcl_Panic("CompileSubExpr: unexpected operator %d requiring special treatment", opIndex); } /* end switch on operator requiring special treatment */ infoPtr->hasOperators = 1; break; default: - Tcl_Panic("CompileSubExpr: unexpected token type %d\n", + Tcl_Panic("CompileSubExpr: unexpected token type %d", tokenPtr->type); } |