diff options
author | hobbs <hobbs> | 2001-09-19 18:18:16 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-09-19 18:18:16 (GMT) |
commit | a16345e2070ed06336f7beb52a79dbd5eb07f102 (patch) | |
tree | ba76a1e3dffbfbd397b26eb6d6c3f4068b01cca9 /generic | |
parent | 93f8aa9a4503e99c92cc046261e09d99e638c188 (diff) | |
download | tcl-a16345e2070ed06336f7beb52a79dbd5eb07f102.zip tcl-a16345e2070ed06336f7beb52a79dbd5eb07f102.tar.gz tcl-a16345e2070ed06336f7beb52a79dbd5eb07f102.tar.bz2 |
* generic/tclExecute.c (TclExecuteByteCode):
* generic/tclCompile.c (instructionTable):
* generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -
Updated to Int1 instruction type and added special case to use
INST_STR_EQ instead when no glob chars are specified in a static
string.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclCompile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 6bd7ca2..3435990 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.24 2001/09/17 11:51:58 msofer Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.25 2001/09/19 18:18:16 hobbs Exp $ */ #include "tclInt.h" @@ -222,8 +222,8 @@ InstructionDesc instructionTable[] = { /* Str Length: push (strlen stktop) */ {"strindex", 1, 0, {OPERAND_NONE}}, /* Str Index: push (strindex stknext stktop) */ - {"strmatch", 1, 0, {OPERAND_NONE}}, - /* Str Match: push (strmatch stkforenext stknext stktop) */ + {"strmatch", 2, 1, {OPERAND_INT1}}, + /* Str Match: push (strmatch stknext stktop) opnd == nocase */ {"list", 5, 1, {OPERAND_UINT4}}, /* List: push (stk1 stk2 ... stktop) */ {"listindex", 1, 0, {OPERAND_NONE}}, |