From bf63c22236bf05cc0f69635e66cd22a3010dcb6a Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Mon, 23 Oct 2006 23:04:11 +0000 Subject: * generic/tclBasic.c (TclEvalObjvInternal): removed redundant check for ensembles [Bug 1577628]. --- ChangeLog | 3 +++ generic/tclBasic.c | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 96c0cb1..7dd12be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-10-23 Miguel Sofer + * 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); -- cgit v0.12