diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-22 15:46:35 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-22 15:46:35 (GMT) |
commit | 231f5f3d5b6c01e9bc38fee95c93db53a52ae90b (patch) | |
tree | 2b1ce72582368d79e806e39bedf41e591514bd7e /generic | |
parent | 9f2e0752a6f6ab07ff0b2411c9a945ba52804aff (diff) | |
download | tcl-231f5f3d5b6c01e9bc38fee95c93db53a52ae90b.zip tcl-231f5f3d5b6c01e9bc38fee95c93db53a52ae90b.tar.gz tcl-231f5f3d5b6c01e9bc38fee95c93db53a52ae90b.tar.bz2 |
Make ensembles report shorter error traces that conceal more of how the
ensemble implements itself. This is usually the right thing to do.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclNamesp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 6b606f0..38c5dd7 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -21,7 +21,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclNamesp.c,v 1.62 2004/10/15 04:01:32 dgp Exp $ + * RCS: @(#) $Id: tclNamesp.c,v 1.63 2004/10/22 15:46:37 dkf Exp $ */ #include "tclInt.h" @@ -5049,7 +5049,8 @@ NsEnsembleImplementationCmd(clientData, interp, objc, objv) tempObjv = (Tcl_Obj **) ckalloc(sizeof(Tcl_Obj *)*(objc-2+prefixObjc)); memcpy(tempObjv, prefixObjv, sizeof(Tcl_Obj *) * prefixObjc); memcpy(tempObjv+prefixObjc, objv+2, sizeof(Tcl_Obj *) * (objc-2)); - result = Tcl_EvalObjv(interp, objc-2+prefixObjc, tempObjv, 0); + result = Tcl_EvalObjv(interp, objc-2+prefixObjc, tempObjv, + TCL_EVAL_INVOKE); Tcl_DecrRefCount(prefixObj); ckfree((char *)tempObjv); return result; |