summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-11-15 21:47:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-11-15 21:47:21 (GMT)
commita7b6d284d9a81d17771007a9b3158d7a3ee2abdf (patch)
tree9717c0374c2caf6f45e09dcb36894b7895ccd57c /generic/tclInt.h
parentcd2e2d4f0350a8752c58aab0c644f415e8b770a3 (diff)
downloadtcl-a7b6d284d9a81d17771007a9b3158d7a3ee2abdf.zip
tcl-a7b6d284d9a81d17771007a9b3158d7a3ee2abdf.tar.gz
tcl-a7b6d284d9a81d17771007a9b3158d7a3ee2abdf.tar.bz2
* generic/tclInt.h: Added comment warning that the old
ERR_IN_PROGRESS and ERROR_CODE_SET flag values should not be re-used for the sake of those extensions that have accessed them. * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which failed * tests/trace.test (trace-33.1): to permit a variable trace created with [trace variable] to be destroyed with [trace remove]. Thanks to Keith Vetter for the report.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 28284b2..04254d9 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInt.h,v 1.198 2004/11/13 00:19:09 dgp Exp $
+ * RCS: @(#) $Id: tclInt.h,v 1.199 2004/11/15 21:47:22 dgp Exp $
*/
#ifndef _TCLINT
@@ -1471,6 +1471,10 @@ typedef struct Interp {
* INTERP_TRACE_IN_PROGRESS: Non-zero means that an interp trace is currently
* active; so no further trace callbacks should be
* invoked.
+ *
+ * WARNING: For the sake of some extensions that have made use of former
+ * internal values, do not re-use the flag values 2 (formerly ERR_IN_PROGRESS)
+ * or 8 (formerly ERROR_CODE_SET).
*/
#define DELETED 1