diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-24 03:00:03 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-24 03:00:03 (GMT) |
commit | 484de8b9879c4344a7f31bf0940aa2eaf943d30f (patch) | |
tree | 9960d41d3de970ae9b157779dd57b026c2303484 | |
parent | 3bbc2317b3c2fb91fe9afbe04708c7e15db60f55 (diff) | |
download | tcl-484de8b9879c4344a7f31bf0940aa2eaf943d30f.zip tcl-484de8b9879c4344a7f31bf0940aa2eaf943d30f.tar.gz tcl-484de8b9879c4344a7f31bf0940aa2eaf943d30f.tar.bz2 |
[e087812465] Trim back operatorStrings array to just the entries that are
needed. Trims away the part of the array that was out of sync with the opcodes.
-rw-r--r-- | generic/tclExecute.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index c4f9836..b9415e5 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -75,9 +75,7 @@ int tclTraceExec = 0; static const char *const operatorStrings[] = { "||", "&&", "|", "^", "&", "==", "!=", "<", ">", "<=", ">=", "<<", ">>", - "+", "-", "*", "/", "%", "+", "-", "~", "!", - "BUILTIN FUNCTION", "FUNCTION", - "", "", "", "", "", "", "", "", "eq", "ne" + "+", "-", "*", "/", "%", "+", "-", "~", "!" }; /* @@ -7714,7 +7712,7 @@ IllegalExprOperandType( if (opcode == INST_EXPON) { operator = "**"; - } else if (opcode <= INST_STR_NEQ) { + } else if (opcode <= INST_LNOT) { operator = operatorStrings[opcode - INST_LOR]; } |