summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-02-17 15:59:24 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-02-17 15:59:24 (GMT)
commit0198d4b07964264dc869e7b3ec88e8b7fd25d18f (patch)
treeb368547c3430a89c31c7cdff7e8c4c163646b9a4 /generic/tclCompile.c
parent7db448ffbc8f56ff7e50d542ff112e61fa2f6d94 (diff)
downloadtcl-0198d4b07964264dc869e7b3ec88e8b7fd25d18f.zip
tcl-0198d4b07964264dc869e7b3ec88e8b7fd25d18f.tar.gz
tcl-0198d4b07964264dc869e7b3ec88e8b7fd25d18f.tar.bz2
Fix error in stack depth calculation for [dict update], correct misleading
comment in description of opcode.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 726aefb..acc667c 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.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: tclCompile.c,v 1.180 2010/01/30 16:33:25 dkf Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.181 2010/02/17 15:59:24 dkf Exp $
*/
#include "tclInt.h"
@@ -355,9 +355,9 @@ InstructionDesc const tclInstructionTable[] = {
/* Create the variables (described in the aux data referred to by the
* second immediate argument) to mirror the state of the dictionary in
* the variable referred to by the first immediate argument. The list
- * of keys (popped from the stack) must be the same length as the list
- * of variables.
- * Stack: ... keyList => ... */
+ * of keys (top of the stack, not poppsed) must be the same length as
+ * the list of variables.
+ * Stack: ... keyList => ... keyList */
{"dictUpdateEnd", 9, -1, 2, {OPERAND_LVT4, OPERAND_AUX4}},
/* Reflect the state of local variables (described in the aux data
* referred to by the second immediate argument) back to the state of