summaryrefslogtreecommitdiffstats
path: root/generic/tclParse.c
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2008-07-14 02:09:27 (GMT)
committermsofer <msofer@noemail.net>2008-07-14 02:09:27 (GMT)
commit2c07b8438cbfb57a069dcae61608f0b1b9bffa10 (patch)
tree0458b1102453312f988f191ca1d1328cd18d2d3f /generic/tclParse.c
parent02ed5337115d615d996060179edae1d95c089e72 (diff)
downloadtcl-2c07b8438cbfb57a069dcae61608f0b1b9bffa10.zip
tcl-2c07b8438cbfb57a069dcae61608f0b1b9bffa10.tar.gz
tcl-2c07b8438cbfb57a069dcae61608f0b1b9bffa10.tar.bz2
* generic/tclParse.c: Remove unneeded TclInterpReady call
FossilOrigin-Name: f52ca120cd1fee11cfeba8126c58bbc7f1e09831
Diffstat (limited to 'generic/tclParse.c')
-rw-r--r--generic/tclParse.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c
index a6abd52..061f9eb 100644
--- a/generic/tclParse.c
+++ b/generic/tclParse.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclParse.c,v 1.68 2008/07/14 01:38:01 msofer Exp $
+ * RCS: @(#) $Id: tclParse.c,v 1.69 2008/07/14 02:09:30 msofer Exp $
*/
#include "tclInt.h"
@@ -2165,12 +2165,9 @@ TclSubstTokens(
break;
case TCL_TOKEN_COMMAND: {
- code = TclInterpReady(interp);
- if (code == TCL_OK) {
- /* TIP #280: Transfer line information to nested command */
- code = TclEvalEx(interp, tokenPtr->start+1, tokenPtr->size-2,
- 0, line);
- }
+ /* TIP #280: Transfer line information to nested command */
+ code = TclEvalEx(interp, tokenPtr->start+1, tokenPtr->size-2,
+ 0, line);
appendObj = Tcl_GetObjResult(interp);
break;
}