summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-01-16 21:05:46 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-01-16 21:05:46 (GMT)
commit6101ed5d08da556682f4d6c8870f87180eeef50a (patch)
tree5ccefed6827a363ec7449b2b710f2f55806a4c92 /generic/tclCompile.c
parent649a6115420f5c28c50feee55a7e0e441b22188d (diff)
downloadtcl-6101ed5d08da556682f4d6c8870f87180eeef50a.zip
tcl-6101ed5d08da556682f4d6c8870f87180eeef50a.tar.gz
tcl-6101ed5d08da556682f4d6c8870f87180eeef50a.tar.bz2
* generic/tclCompExpr.c: add an 'optimize' argument to
* generic/tclCompile.c: TclCompileExpr() to profit from better * generic/tclCompile.h: literal management according to usage. * generic/tclExecute.c:
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index c6a48fc..b4f4d97 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -11,7 +11,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.144 2007/12/13 15:23:15 dgp Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.145 2008/01/16 21:05:48 msofer Exp $
*/
#include "tclInt.h"
@@ -1823,7 +1823,7 @@ TclCompileExprWords(
*/
if ((numWords == 1) && (tokenPtr->type == TCL_TOKEN_SIMPLE_WORD)) {
- TclCompileExpr(interp, tokenPtr[1].start, tokenPtr[1].size, envPtr);
+ TclCompileExpr(interp, tokenPtr[1].start, tokenPtr[1].size, envPtr, 1);
return;
}