summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-10-03 10:45:35 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-10-03 10:45:35 (GMT)
commitf5da66af9b1d20982f24f809029662cdf55fe3b0 (patch)
tree50130e480fa011b6a08d1873587e28d09ec541af /generic/tclCompile.c
parent12b24fa2fb8f381005e95bb52ab317ccfaae110e (diff)
downloadtcl-f5da66af9b1d20982f24f809029662cdf55fe3b0.zip
tcl-f5da66af9b1d20982f24f809029662cdf55fe3b0.tar.gz
tcl-f5da66af9b1d20982f24f809029662cdf55fe3b0.tar.bz2
Added support for having the dict var itself referenced by LVT index.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 4b5d2bb..97e2a8a 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -426,10 +426,14 @@ InstructionDesc const tclInstructionTable[] = {
* variables with matched names. Produces list of keys bound as
* result. Part of [dict with].
* Stack: ... dict path => ... keyList */
- {"dictRecombine", 1, -3, 0, {OPERAND_NONE}},
+ {"dictRecombineStk", 1, -3, 0, {OPERAND_NONE}},
/* Map variable contents back into a dictionary in a variable. Part of
* [dict with].
* Stack: ... dictVarName path keyList => ... */
+ {"dictRecombineImm", 1, -2, 1, {OPERAND_LVT4}},
+ /* Map variable contents back into a dictionary in the local variable
+ * indicated by the LVT index. Part of [dict with].
+ * Stack: ... path keyList => ... */
{NULL, 0, 0, 0, {OPERAND_NONE}}
};