diff options
author | dgp <dgp@users.sourceforge.net> | 2009-09-21 16:16:04 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-09-21 16:16:04 (GMT) |
commit | 9badd9a07bfa6ee391090b99b1805824a894b856 (patch) | |
tree | e5ba20f18d95619b5d8372f0dfc4725d0df1534e /generic/tclCompile.c | |
parent | 76a7b7436a2b6d136bd796fbc2dd53cd3f4385dc (diff) | |
download | tcl-9badd9a07bfa6ee391090b99b1805824a894b856.zip tcl-9badd9a07bfa6ee391090b99b1805824a894b856.tar.gz tcl-9badd9a07bfa6ee391090b99b1805824a894b856.tar.bz2 |
* generic/tclCompile.c: Correct botch in the conversion of
Tcl_SubstObj(). Thanks to Kevin Kenny for detection and report.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 36e24d2..7104f94 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.176 2009/09/17 17:58:10 dgp Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.177 2009/09/21 16:16:05 dgp Exp $ */ #include "tclInt.h" @@ -896,8 +896,10 @@ Tcl_SubstObj( Tcl_Obj *objPtr, /* The value to be substituted. */ int flags) /* What substitutions to do. */ { + TEOV_callback *rootPtr = TOP_CB(interp); + if (TclNRRunCallbacks(interp, TclNRSubstObj(interp, objPtr, flags), - TOP_CB(interp), 0) != TCL_OK) { + rootPtr, 0) != TCL_OK) { return NULL; } return Tcl_GetObjResult(interp); |