diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2013-12-30 08:37:49 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2013-12-30 08:37:49 (GMT) |
| commit | 87c73c7a5ce9591b246bf6123facd9577c70ffce (patch) | |
| tree | a8680fa7474bcf0220ce6342a82e0a07e23ef8ff /generic/tclCompile.c | |
| parent | 7b00bae793375f0113d2cfd6e7493375b0036725 (diff) | |
| download | tcl-87c73c7a5ce9591b246bf6123facd9577c70ffce.zip tcl-87c73c7a5ce9591b246bf6123facd9577c70ffce.tar.gz tcl-87c73c7a5ce9591b246bf6123facd9577c70ffce.tar.bz2 | |
implement [namespace origin] in bytecode
Diffstat (limited to 'generic/tclCompile.c')
| -rw-r--r-- | generic/tclCompile.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 4ce5a66..0732fe5 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -611,6 +611,11 @@ InstructionDesc const tclInstructionTable[] = { * with the contents of another. * Stack: ... string fromIdx toIdx replacement => ... newString */ + {"originCmd", 1, 0, 0, {OPERAND_NONE}}, + /* Reports which command was the origin (via namespace import chain) + * of the command named on the top of the stack. + * Stack: ... cmdName => ... fullOriginalCmdName */ + {NULL, 0, 0, 0, {OPERAND_NONE}} }; |
