aboutsummaryrefslogtreecommitdiff
path: root/jim-subcmd.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2016-04-18 21:39:08 +1000
committerSteve Bennett <steveb@workware.net.au>2016-08-17 15:58:22 +1000
commite930051115fef44a4f1a3214969169fb5b6d924d (patch)
tree0e0471452f45b3a4c2870582a211e2a347c718b8 /jim-subcmd.c
parenta4f2aef246668e2d33f379093157d872d2db07f2 (diff)
downloadjimtcl-e930051115fef44a4f1a3214969169fb5b6d924d.zip
jimtcl-e930051115fef44a4f1a3214969169fb5b6d924d.tar.gz
jimtcl-e930051115fef44a4f1a3214969169fb5b6d924d.tar.bz2
expr: Improve mathfunc handling
Previously math functions with multiple arguments were handling poorly. For example: pow(1.0 + 3.0 - 2, .8 * 5) was evaluated as: pow(1.0 + 3.0, 2 - .8 * 5) Now commas correctly separate function parameters. Also, the error messages are more consistent and informative in the case of an invalid expression. Update and re-enable tests in tests/expr-old.test accordingly Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-subcmd.c')
0 files changed, 0 insertions, 0 deletions