summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-11-01 20:40:55 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-11-01 20:40:55 (GMT)
commit8324cc91dbdb33bfd5799067e96c62769b8fb9c9 (patch)
treec90a2e185468443f2a0436c84d413717c3ea8486 /generic/tclCompile.c
parenta7dc229d16889c9f6f66d197d4e0bf1afbec5578 (diff)
downloadtcl-8324cc91dbdb33bfd5799067e96c62769b8fb9c9.zip
tcl-8324cc91dbdb33bfd5799067e96c62769b8fb9c9.tar.gz
tcl-8324cc91dbdb33bfd5799067e96c62769b8fb9c9.tar.bz2
Working towards a BCCed [next].
This version <i>almost</i> works, except for a problem with restoring the context namespace upon return (which produces very strange results!)
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index ee8511c..188b3f8 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -484,9 +484,13 @@ InstructionDesc const tclInstructionTable[] = {
* qualified version, or produces the empty string if no such command
* exists. Never generates errors.
* Stack: ... cmdName => ... fullCmdName */
+
{"tclooSelf", 1, +1, 0, {OPERAND_NONE}},
/* Push the identity of the current TclOO object (i.e., the name of
* its current public access command) on the stack. */
+ {"tclooNext", 2, INT_MIN, 1, {OPERAND_UINT1}},
+ /* Push the identity of the current TclOO object (i.e., the name of
+ * its current public access command) on the stack. */
{NULL, 0, 0, 0, {OPERAND_NONE}}
};