summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2004-09-21 22:45:24 (GMT)
committerdgp@users.sourceforge.net <dgp>2004-09-21 22:45:24 (GMT)
commit1752675c2b0c49f56dba6b17fa6b756744b49b35 (patch)
tree9a6f4d0fee8ce88471f221dc2fa8d566f014fa3c /generic/tclNamesp.c
parent2a4d9d3f6850a236f7fe6680ed48f836c040cc70 (diff)
downloadtcl-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/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index 1ad687c..902d5d6 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.53 2004/09/13 10:49:19 dkf Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.54 2004/09/21 22:45:42 dgp Exp $
*/
#include "tclInt.h"
@@ -515,6 +515,7 @@ Tcl_PopCallFrame(interp)
}
iPtr->flags |= saveErrFlag;
+ iPtr->flags &= ~ERR_ALREADY_LOGGED;
/*
* Decrement the namespace's count of active call frames. If the