summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-02 17:00:36 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-02 17:00:36 (GMT)
commit88f9d3bd05de49706576568a9f03370565de7f78 (patch)
treedca9d4be230f431a028253edd974a75803f59f91 /generic/tcl.h
parentec917053061e438dba385646ae15104397cd6dfa (diff)
downloadtcl-88f9d3bd05de49706576568a9f03370565de7f78.zip
tcl-88f9d3bd05de49706576568a9f03370565de7f78.tar.gz
tcl-88f9d3bd05de49706576568a9f03370565de7f78.tar.bz2
Modify the semantics of [dict set] to be what everyone expected them to be
in a straw poll. Also made T_DODone;T_DONext a non-fatal sequence, leading to simplified code.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index a697ade..4a285d0 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -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: tcl.h,v 1.183 2004/09/10 19:54:06 andreas_kupries Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.184 2004/10/02 17:00:38 dkf Exp $
*/
#ifndef _TCL
@@ -1339,9 +1339,10 @@ typedef struct Tcl_HashSearch {
*/
typedef struct {
- Tcl_HashSearch search;
- int epoch;
- Tcl_Dict dictionaryPtr;
+ Tcl_HashSearch search; /* Search struct for underlying hash table. */
+ int epoch; /* Epoch marker for dictionary being searched,
+ * or -1 if search has terminated. */
+ Tcl_Dict dictionaryPtr; /* Reference to dictionary being searched. */
} Tcl_DictSearch;