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)
commit77789d0ff1cb366d39f99f465f385a589bd70061 (patch)
treeaff9e07862b888eebbc7607806cfd3c6d4d01abe
parent10c2a79550f9ca620b2c90fe2b4d1490980de7a7 (diff)
downloadtcl-77789d0ff1cb366d39f99f465f385a589bd70061.zip
tcl-77789d0ff1cb366d39f99f465f385a589bd70061.tar.gz
tcl-77789d0ff1cb366d39f99f465f385a589bd70061.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 */