aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-01-24 11:52:37 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:43 +1000
commit69364efd1631cfe9d10e855d5917b9d9ec7122fc (patch)
tree4dbd0e6b319ad485297907ad0e6d9a4f08cd90e3 /jim.h
parentb367df9ca11f36a392b97afc2767694f8bfe1c4f (diff)
downloadjimtcl-69364efd1631cfe9d10e855d5917b9d9ec7122fc.zip
jimtcl-69364efd1631cfe9d10e855d5917b9d9ec7122fc.tar.gz
jimtcl-69364efd1631cfe9d10e855d5917b9d9ec7122fc.tar.bz2
Fix many problem with expr evaluation
*: Import Tcl expr tests (expr-old.test) and fix things: *: !double should be boolean (int) *: double&&double and double||double should be boolean (int) *: 2.34e+1 and 2.0e2 are an acceptable double values *: precedence of && and || is not equal *: precedence of ? and : is not equal *: expression "2:3" is invalid *: lazy evaluation involving multiple && and || was quite wrong *: Fix unary minus wrt subexpressions. e.g. -(-1.5) *: Also add support for functions: int, double, abs, round *: Fix lazy evaluation of ternary operator *: Error on missing ?, missing : *: Fix double unary minus *: Add unary plus *: Fix parsing of double with no '.' before 'e'. Also support 'E'. *: Right-to-left associativity of ternary operator is *almost* correct *: Import div/mod of -ve integers from Tcl *: Rotate (<<< and >>>) failed because of wrong arity *: Don't use auto-converted double values *: When an expression fails, show the expression *: Bump version to 0.62
Diffstat (limited to 'jim.h')
-rw-r--r--jim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim.h b/jim.h
index c899d5e..8b75349 100644
--- a/jim.h
+++ b/jim.h
@@ -135,7 +135,7 @@ extern "C" {
/* Jim version numbering: every version of jim is marked with a
* successive integer number. This is version 0. The first
* stable version will be 1, then 2, 3, and so on. */
-#define JIM_VERSION 61
+#define JIM_VERSION 62
#define JIM_OK 0
#define JIM_ERR 1