aboutsummaryrefslogtreecommitdiff
path: root/jim-regexp.c
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-regexp.c
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-regexp.c')
0 files changed, 0 insertions, 0 deletions