summaryrefslogtreecommitdiffstats
path: root/generic/tclParse.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-14 02:09:28 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-14 02:09:28 (GMT)
commit8d88b8afd68de02f280b0221a74a1116bb4f06dd (patch)
tree0458b1102453312f988f191ca1d1328cd18d2d3f /generic/tclParse.c
parentd41419c07d90567c76f27ec6c1c7a78ae083d8fd (diff)
downloadtcl-8d88b8afd68de02f280b0221a74a1116bb4f06dd.zip
tcl-8d88b8afd68de02f280b0221a74a1116bb4f06dd.tar.gz
tcl-8d88b8afd68de02f280b0221a74a1116bb4f06dd.tar.bz2
* generic/tclParse.c: Remove unneeded TclInterpReady call
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;
}