summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-30 00:17:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-30 00:17:14 -0700
commit4eb00c73e67e8e41eaa3b6f1a1fb5b6ba542b0f5 (patch)
treea730670cf0e41445eecd42490eb22ead1a6e64ec /ChangeLog
parent0a252c30582c4134c7c1d8d7cacab7cf00f3c2c3 (diff)
downloadtxr-4eb00c73e67e8e41eaa3b6f1a1fb5b6ba542b0f5.tar.gz
txr-4eb00c73e67e8e41eaa3b6f1a1fb5b6ba542b0f5.tar.bz2
txr-4eb00c73e67e8e41eaa3b6f1a1fb5b6ba542b0f5.zip
* lib.c (num_str): Much more accurate test for deciding whether
to treat the number as floating or integer. We can't just look for the presence of E, e or . because these coudl be part of trailing junk for instance "123XYZE." should convert to the integer 123, where "XYZE." is trailing junk. * txr.1: Documented int-str, flo-str and num-str.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6efe4902..25da9e32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-03-30 Kaz Kylheku <kaz@kylheku.com>
+
+ * lib.c (num_str): Much more accurate test for deciding whether
+ to treat the number as floating or integer. We can't just look
+ for the presence of E, e or . because these coudl be part of
+ trailing junk for instance "123XYZE." should convert
+ to the integer 123, where "XYZE." is trailing junk.
+
+ * txr.1: Documented int-str, flo-str and num-str.
+
2012-03-29 Kaz Kylheku <kaz@kylheku.com>
* arith.c (numeq): Fix misplaced parenthesis.