summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2012-11-01 20:40:55 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2012-11-01 20:40:55 (GMT)
commitf6d9b35b1e1383315af919cd15e94e8dc7fffcda (patch)
treec90a2e185468443f2a0436c84d413717c3ea8486 /generic/tclCompile.c
parentd72c1c681d561ca1b22fb51b56d06856c12e8b4e (diff)
downloadtcl-f6d9b35b1e1383315af919cd15e94e8dc7fffcda.zip
tcl-f6d9b35b1e1383315af919cd15e94e8dc7fffcda.tar.gz
tcl-f6d9b35b1e1383315af919cd15e94e8dc7fffcda.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}}
};