diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2006-10-23 23:04:11 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2006-10-23 23:04:11 (GMT) |
commit | bf63c22236bf05cc0f69635e66cd22a3010dcb6a (patch) | |
tree | fbe81de9cfd00639a52d2f3f6f89984e8a5b3e6d | |
parent | 94919dd9c565db95ae21cf14b91f8cdeb2446b46 (diff) | |
download | tcl-bf63c22236bf05cc0f69635e66cd22a3010dcb6a.zip tcl-bf63c22236bf05cc0f69635e66cd22a3010dcb6a.tar.gz tcl-bf63c22236bf05cc0f69635e66cd22a3010dcb6a.tar.bz2 |
* generic/tclBasic.c (TclEvalObjvInternal): removed redundant
check for ensembles [Bug 1577628].
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | generic/tclBasic.c | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,8 @@ 2006-10-23 Miguel Sofer <msofer@users.sf.net> + * generic/tclBasic.c (TclEvalObjvInternal): removed redundant + check for ensembles [Bug 1577628]. + * library/clock.tcl (format, scan): corrected wrong # args * tests/clock.test (3.1, 34.1): messages to make use of the new rewrite capabilities of [info level] 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); |