summaryrefslogtreecommitdiffstats
path: root/generic/tclCompExpr.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-05-26 08:53:40 (GMT)
committerhobbs <hobbs@noemail.net>2000-05-26 08:53:40 (GMT)
commitae2c1ce85ba6d4cd729d3522d6a048d36a8970ae (patch)
treea406c998489681d6068a7a69a1a2fdcc49338dc2 /generic/tclCompExpr.c
parent6c20cfb07c2f0b64ee64c5c705b40fc41f12583e (diff)
downloadtcl-ae2c1ce85ba6d4cd729d3522d6a048d36a8970ae.zip
tcl-ae2c1ce85ba6d4cd729d3522d6a048d36a8970ae.tar.gz
tcl-ae2c1ce85ba6d4cd729d3522d6a048d36a8970ae.tar.bz2
* generic/tclCompExpr.c: changed INST_STREQ -> INST_STR_EQ,
INST_STRNEQ -> INST_STR_NEQ * generic/tclCompile.c: added streq, strneq, strcmp, strlen & strmatch to the compiled stats instructionTable * generic/tclCompile.h: added instructions INST_STR_CMP, INST_STR_INDEX, INST_STR_MATCH * generic/tclCompCmds.c: added byte compiler support for [string compare|match|index]. * generic/tclExecute.c: Changed INST_STR_(N)EQ to return an Int object and not bother trying to reuse the top stack object. Added INST_STR_CMP, INST_STR_INDEX, INST_STR_MATCH bytecode ops. Extended evalstats output info with Tcl_IsShared stat info. FossilOrigin-Name: 42d08624f2f1de2387554381d9180db832e1039e
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r--generic/tclCompExpr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index 8a781b9..b619e2c 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompExpr.c,v 1.5 2000/05/09 00:00:34 hobbs Exp $
+ * RCS: @(#) $Id: tclCompExpr.c,v 1.6 2000/05/26 08:53:40 hobbs Exp $
*/
#include "tclInt.h"
@@ -144,8 +144,8 @@ OperatorDesc operatorTable[] = {
{"?", 0},
{"!", 1, INST_LNOT},
{"~", 1, INST_BITNOT},
- {"eq", 2, INST_STREQ},
- {"ne", 2, INST_STRNEQ},
+ {"eq", 2, INST_STR_EQ},
+ {"ne", 2, INST_STR_NEQ},
{NULL}
};