summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tclCompile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index d4c5d9e..9ea7d2d 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.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: tclCompile.c,v 1.134 2007/09/25 20:27:17 dkf Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.135 2007/10/09 22:16:23 dkf Exp $
*/
#include "tclInt.h"
@@ -3240,9 +3240,10 @@ TclPrintInstruction(
unsigned char *pc) /* Points to first byte of instruction. */
{
Tcl_Obj *bufferObj;
+ int numBytes;
TclNewObj(bufferObj);
- FormatInstruction(codePtr, pc, bufferObj);
+ numBytes = FormatInstruction(codePtr, pc, bufferObj);
fprintf(stdout, "%s", TclGetString(bufferObj));
Tcl_DecrRefCount(bufferObj);
return numBytes;