summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2006-10-23 23:04:11 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2006-10-23 23:04:11 (GMT)
commitbf63c22236bf05cc0f69635e66cd22a3010dcb6a (patch)
treefbe81de9cfd00639a52d2f3f6f89984e8a5b3e6d /generic/tclBasic.c
parent94919dd9c565db95ae21cf14b91f8cdeb2446b46 (diff)
downloadtcl-bf63c22236bf05cc0f69635e66cd22a3010dcb6a.zip
tcl-bf63c22236bf05cc0f69635e66cd22a3010dcb6a.tar.gz
tcl-bf63c22236bf05cc0f69635e66cd22a3010dcb6a.tar.bz2
* generic/tclBasic.c (TclEvalObjvInternal): removed redundant
check for ensembles [Bug 1577628].
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index a633a85..8e7cfc1 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.202 2006/10/23 22:49:24 msofer Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.203 2006/10/23 23:04:12 msofer Exp $
*/
#include "tclInt.h"
@@ -3424,8 +3424,7 @@ TclEvalObjvInternal(
iPtr->cmdCount++;
if (code == TCL_OK && traceCode == TCL_OK && !Tcl_LimitExceeded(interp)) {
if (!(flags & TCL_EVAL_INVOKE) &&
- (iPtr->ensembleRewrite.sourceObjs != NULL) &&
- !Tcl_IsEnsemble((Tcl_Command) cmdPtr)) {
+ (iPtr->ensembleRewrite.sourceObjs != NULL)) {
iPtr->ensembleRewrite.sourceObjs = NULL;
}
code = (*cmdPtr->objProc)(cmdPtr->objClientData, interp, objc, objv);