From 3b26635ef7f745eeaaf7d1ecc4f89c48b04cb1f5 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Tue, 11 Dec 2001 17:57:12 +0000 Subject: fix debug messages in INST_LSET_LIST. --- ChangeLog | 4 ++++ generic/tclExecute.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 71f0fc6..d1d1f5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2001-12-11 Miguel Sofer + * generic/tclExecute.c: fix debug messages in INST_LSET_LIST. + +2001-12-11 Miguel Sofer + * generic/tclCompCmds.c (TclCompileLindexCmd): * generic/tclCompExpr.c (CompileMathFuncCall): removed the last two overestimates of the necessary stack depth for bytecodes in diff --git a/generic/tclExecute.c b/generic/tclExecute.c index b99a594..350c190 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.43 2001/12/10 15:44:34 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.44 2001/12/11 17:57:12 msofer Exp $ */ #include "tclInt.h" @@ -2564,7 +2564,7 @@ TclExecuteByteCode(interp, codePtr) */ if ( objPtr == NULL ) { - TRACE_WITH_OBJ( ( "%d => ERROR: ", opnd ), + TRACE_WITH_OBJ( ( "\"%.30s\" => ERROR: ", O2S(value2Ptr)), Tcl_GetObjResult( interp ) ); result = TCL_ERROR; goto checkForCatch; @@ -2575,7 +2575,7 @@ TclExecuteByteCode(interp, codePtr) */ PUSH_OBJECT( objPtr ); - TRACE(( "%d => %s\n", opnd, O2S( objPtr ) )); + TRACE(( "=> %s\n", O2S( objPtr ) )); Tcl_DecrRefCount( objPtr ); } ADJUST_PC( 1 ); -- cgit v0.12