summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-11-02 20:25:57 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-11-02 20:25:57 (GMT)
commitbcb829c828596a8ab002aaad7770dee9a395491b (patch)
tree7d93443b8d54a80a197f646009236ccff15c3f43 /generic/tclCompile.c
parent8324cc91dbdb33bfd5799067e96c62769b8fb9c9 (diff)
parentce7c13b7962d2ebcd432dfb05fffe812c4d172d2 (diff)
downloadtcl-bcb829c828596a8ab002aaad7770dee9a395491b.zip
tcl-bcb829c828596a8ab002aaad7770dee9a395491b.tar.gz
tcl-bcb829c828596a8ab002aaad7770dee9a395491b.tar.bz2
merge dkf-compile-misc-info
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 188b3f8..7036f6a 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -491,6 +491,14 @@ InstructionDesc const tclInstructionTable[] = {
{"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. */
+ {"tclooClass", 1, 0, 0, {OPERAND_NONE}},
+ /* Push the class of the TclOO object named at the top of the stack
+ * onto the stack.
+ * Stack: ... object => ... class */
+ {"tclooNamespace", 1, 0, 0, {OPERAND_NONE}},
+ /* Push the namespace of the TclOO object named at the top of the
+ * stack onto the stack.
+ * Stack: ... object => ... namespace */
{NULL, 0, 0, 0, {OPERAND_NONE}}
};