diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2001-12-11 17:57:12 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2001-12-11 17:57:12 (GMT) |
commit | 3b26635ef7f745eeaaf7d1ecc4f89c48b04cb1f5 (patch) | |
tree | c0da677279f8009db2b0b32c0bea14885ba543ab | |
parent | dd1a92bd5aff575da91fd60c31a16bc6f8f16b68 (diff) | |
download | tcl-3b26635ef7f745eeaaf7d1ecc4f89c48b04cb1f5.zip tcl-3b26635ef7f745eeaaf7d1ecc4f89c48b04cb1f5.tar.gz tcl-3b26635ef7f745eeaaf7d1ecc4f89c48b04cb1f5.tar.bz2 |
fix debug messages in INST_LSET_LIST.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclExecute.c | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,9 @@ 2001-12-11 Miguel Sofer <msofer@users.sourceforge.net> + * generic/tclExecute.c: fix debug messages in INST_LSET_LIST. + +2001-12-11 Miguel Sofer <msofer@users.sourceforge.net> + * 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 ); |