diff options
| author | dgp@users.sourceforge.net <dgp> | 2004-09-21 22:45:24 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2004-09-21 22:45:24 (GMT) |
| commit | 1752675c2b0c49f56dba6b17fa6b756744b49b35 (patch) | |
| tree | 9a6f4d0fee8ce88471f221dc2fa8d566f014fa3c /generic/tclExecute.c | |
| parent | 2a4d9d3f6850a236f7fe6680ed48f836c040cc70 (diff) | |
| download | tcl-1752675c2b0c49f56dba6b17fa6b756744b49b35.zip tcl-1752675c2b0c49f56dba6b17fa6b756744b49b35.tar.gz tcl-1752675c2b0c49f56dba6b17fa6b756744b49b35.tar.bz2 | |
* generic/tclBasic.c: Reworked management of the interp
* generic/tclCompile.c: flag ERR_ALREADY_LOGGED, to reduce
* generic/tclExecute.c: its exposure. Still left several
* generic/tclNamesp.c: references that are just too nice
on performace to do away with. These changes also resolve
an inconsistency in the ::errorInfo values produced by
[namespace eval x error foo bar] and
[namespace eval x {error foo bar}].
* generic/tclExecute.c (TclCompEvalObj): Simplified
the TclCompEvalObj routine. Much housekeeping now reliably
happens elsewhere. [Patch 1031949]
Diffstat (limited to 'generic/tclExecute.c')
| -rw-r--r-- | generic/tclExecute.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index dc6520a..b7edcf2 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.150 2004/09/21 21:14:03 dgp Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.151 2004/09/21 22:45:41 dgp Exp $ */ #ifdef STDC_HEADERS @@ -907,13 +907,9 @@ TclCompEvalObj(interp, objPtr) { register Interp *iPtr = (Interp *) interp; register ByteCode* codePtr; /* Tcl Internal type of bytecode. */ - int oldCount = iPtr->cmdCount; /* Used to tell whether any commands - * at all were executed. */ - char *script; int result; Namespace *namespacePtr; - /* * Check that the interpreter is ready to execute scripts */ @@ -1006,7 +1002,6 @@ TclCompEvalObj(interp, objPtr) TclCleanupByteCode(codePtr); } iPtr->numLevels--; - iPtr->flags &= ~ERR_ALREADY_LOGGED; return result; } |
