diff options
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 22b715a..3844e16 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.217 2006/11/09 15:19:02 dkf Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.218 2006/11/15 20:08:42 dgp Exp $ */ #include "tclInt.h" @@ -3819,7 +3819,7 @@ Tcl_EvalEx( * Attempt to expand a non-list. */ - TclAppendObjToErrorInfo(interp, TclObjPrintf( + Tcl_AppendObjToErrorInfo(interp, Tcl_ObjPrintf( "\n (expanding word %d)", objectsUsed)); Tcl_DecrRefCount(objv[objectsUsed]); goto error; @@ -4210,7 +4210,7 @@ ProcessUnexpectedResult( Tcl_AppendResult(interp, "invoked \"continue\" outside of a loop", NULL); } else { - Tcl_SetObjResult(interp, TclObjPrintf( + Tcl_SetObjResult(interp, Tcl_ObjPrintf( "command returned bad code: %d", returnCode)); } } @@ -4647,7 +4647,7 @@ Tcl_ExprString( /* *---------------------------------------------------------------------- * - * TclAppendObjToErrorInfo -- + * Tcl_AppendObjToErrorInfo -- * * Add a Tcl_Obj value to the errorInfo field that describes the current * error. @@ -4664,7 +4664,7 @@ Tcl_ExprString( */ void -TclAppendObjToErrorInfo( +Tcl_AppendObjToErrorInfo( Tcl_Interp *interp, /* Interpreter to which error information * pertains. */ Tcl_Obj *objPtr) /* Message to record. */ @@ -5839,7 +5839,7 @@ MathFuncWrongNumArgs( break; } } - Tcl_SetObjResult(interp, TclObjPrintf( + Tcl_SetObjResult(interp, Tcl_ObjPrintf( "too %s arguments for math function \"%s\"", (found < expected ? "few" : "many"), name)); } |