summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-06-08 23:35:02 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-06-08 23:35:02 (GMT)
commit4e13219dfb9cec9a36faaffb93a2c70db6ecf0b9 (patch)
treeaff9e07862b888eebbc7607806cfd3c6d4d01abe
parent854eec9e0feb5fc76d5cf1b8b372bd0118b0e454 (diff)
downloadtcl-4e13219dfb9cec9a36faaffb93a2c70db6ecf0b9.zip
tcl-4e13219dfb9cec9a36faaffb93a2c70db6ecf0b9.tar.gz
tcl-4e13219dfb9cec9a36faaffb93a2c70db6ecf0b9.tar.bz2
More informative comment describing INST_SYNTAX.
-rw-r--r--generic/tclCompile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 572f660..c361430 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -383,7 +383,8 @@ InstructionDesc const tclInstructionTable[] = {
/* finds namespace and otherName in stack, links to local variable at
* index op1. Leaves the namespace on stack. */
{"syntax", 9, -1, 2, {OPERAND_INT4, OPERAND_UINT4}},
- /* Compiled bytecodes to signal syntax error. */
+ /* Compiled bytecodes to signal syntax error. Equivalent to returnImm
+ * except for the ERR_ALREADY_LOGGED flag in the interpreter. */
{"reverse", 5, 0, 1, {OPERAND_UINT4}},
/* Reverse the order of the arg elements at the top of stack */