summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-20 23:07:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-20 23:07:10 -0700
commitff8a6cce170ecb6c523b6c59a865946f402226b5 (patch)
tree9e43e9ada8cd4e4ff0ffaea7cbce94f70dc1e78e /ChangeLog
parentbc665592de673232748e12f189121ee5a8360b93 (diff)
downloadtxr-ff8a6cce170ecb6c523b6c59a865946f402226b5.tar.gz
txr-ff8a6cce170ecb6c523b6c59a865946f402226b5.tar.bz2
txr-ff8a6cce170ecb6c523b6c59a865946f402226b5.zip
Regression fix: 1..3 scans incorrectly into 1. .3 tokens.
* parser.l (SGN, EXP, DIG): New regex definitions. (FLO): Do not recognize numbers of the form 123. Decimal point must be followed either by exponent, or digits (which may then be followed by an exponent). (FLODOT): New token type, recognizes 123. (grammar): Recognize FLODOT as a floating point number, only if it not trailed by another dot, and recognize FLO unconditionally.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c70a4e0..d0d773da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2012-03-20 Kaz Kylheku <kaz@kylheku.com>
+ Regression fix: 1..3 scans incorrectly into 1. .3 tokens.
+
+ * parser.l (SGN, EXP, DIG): New regex definitions.
+ (FLO): Do not recognize numbers of the form 123.
+ Decimal point must be followed either by exponent, or digits
+ (which may then be followed by an exponent).
+ (FLODOT): New token type, recognizes 123.
+ (grammar): Recognize FLODOT as a floating point number,
+ only if it not trailed by another dot, and
+ recognize FLO unconditionally.
+
+2012-03-20 Kaz Kylheku <kaz@kylheku.com>
+
* arith.c (plus): Completed implementation of bignum-float
and float-bignum cases.