diff options
| author | hobbs <hobbs> | 2001-09-19 18:18:16 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2001-09-19 18:18:16 (GMT) |
| commit | 78bf70bec71c9ff00760ff431dc5799018b754a2 (patch) | |
| tree | ba76a1e3dffbfbd397b26eb6d6c3f4068b01cca9 /generic/tclCompile.c | |
| parent | dc8f009e3eb33652274ab583f533313e5abfef02 (diff) | |
| download | tcl-78bf70bec71c9ff00760ff431dc5799018b754a2.zip tcl-78bf70bec71c9ff00760ff431dc5799018b754a2.tar.gz tcl-78bf70bec71c9ff00760ff431dc5799018b754a2.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/tclCompile.c')
| -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}}, |
