diff options
author | dgp <dgp@users.sourceforge.net> | 2006-12-12 21:45:03 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-12-12 21:45:03 (GMT) |
commit | f8e8a61aa2f9bab6ce062e81264c843b9e5eceda (patch) | |
tree | 24e086dd8ccfc62add5ad969e0459c2ea107d3e3 /generic | |
parent | de68040d322c721b0f2781f53d87871d05ab130e (diff) | |
download | tcl-f8e8a61aa2f9bab6ce062e81264c843b9e5eceda.zip tcl-f8e8a61aa2f9bab6ce062e81264c843b9e5eceda.tar.gz tcl-f8e8a61aa2f9bab6ce062e81264c843b9e5eceda.tar.bz2 |
* generic/tclCompExpr.c: Now that the new internal structs
are in use to support operator commands, might as well make them
the default for [expr] as well and avoid passing every parsed
expression through the inefficient Tcl_Token array format. This
addresses most issues in [RFE 1517602] Assuming no performance
disasters result from this, much dead code supporting the other
implementation might now be removed.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclCompExpr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index 96b5b97..58ddb3b 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -10,14 +10,14 @@ * 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.44 2006/12/12 17:21:42 dgp Exp $ + * RCS: @(#) $Id: tclCompExpr.c,v 1.45 2006/12/12 21:45:04 dgp Exp $ */ #include "tclInt.h" #include "tclCompile.h" -#define USE_EXPR_TOKENS -#define PARSE_DIRECT_EXPR_TOKENS +#undef USE_EXPR_TOKENS +#undef PARSE_DIRECT_EXPR_TOKENS #ifdef PARSE_DIRECT_EXPR_TOKENS |