summaryrefslogtreecommitdiffstats
path: root/generic/tclMathOp.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2006-12-08 18:08:33 (GMT)
committerdgp@users.sourceforge.net <dgp>2006-12-08 18:08:33 (GMT)
commit84981e01c9fcc06c580d2709985625779e7d6823 (patch)
treefb63e564b3c47e38440f42ab67e1d573b49d5a5e /generic/tclMathOp.c
parent7a2d7341344927a51d5713d5d7b892fed480fbb3 (diff)
downloadtcl-84981e01c9fcc06c580d2709985625779e7d6823.zip
tcl-84981e01c9fcc06c580d2709985625779e7d6823.tar.gz
tcl-84981e01c9fcc06c580d2709985625779e7d6823.tar.bz2
* generic/tclCompExpr.c: Revised implementation of TclInvertOpCmd
* generic/tclMathOp.c: to perform a bytecode compile / execute sequence. This demonstrates a path toward avoiding mountains of code duplication in tclMathOp.c and tclExecute.c. * generic/tclCompile.h: Change TclExecuteByteCode() from static to * generic/tclExecute.c: MODULE_SCOPE so all files including tclCompile.h may call it.
Diffstat (limited to 'generic/tclMathOp.c')
-rw-r--r--generic/tclMathOp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclMathOp.c b/generic/tclMathOp.c
index f4a5b53..f146a39 100644
--- a/generic/tclMathOp.c
+++ b/generic/tclMathOp.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: tclMathOp.c,v 1.5 2006/12/08 16:14:17 dgp Exp $
+ * RCS: @(#) $Id: tclMathOp.c,v 1.6 2006/12/08 18:08:37 dgp Exp $
*/
#include "tclInt.h"
@@ -1047,7 +1047,7 @@ CompareNumbers(
*
*----------------------------------------------------------------------
*/
-
+#if 0
int
TclInvertOpCmd(
ClientData clientData,
@@ -1108,6 +1108,7 @@ TclInvertOpCmd(
}
}
}
+#endif
/*
*----------------------------------------------------------------------