summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-01-13 21:39:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-01-13 21:39:39 -0800
commitd198142b137ed30cb8a70abf2cd0c36600e1ddd8 (patch)
tree6cb40128807ac77afb9cdbff13b6bec3c2468f54 /ChangeLog
parentef04dd4101f7aa6af724466d1ded707861d2a57d (diff)
downloadtxr-d198142b137ed30cb8a70abf2cd0c36600e1ddd8.tar.gz
txr-d198142b137ed30cb8a70abf2cd0c36600e1ddd8.tar.bz2
txr-d198142b137ed30cb8a70abf2cd0c36600e1ddd8.zip
Bugfix in regex char ranges affecting ranges whose upper end
corresponds to the high bit of a bitmap cell: for instance the character \x7f when the cell size is 32 bits. * regex.c (BITCELL_ALL1): Unused macro removed. (BITCELL_BIT): New macro to replace occurrences of a repeated expression. (CHAR_SET_INDEX, CHAR_SET_BIT): Updated to use BITCELL_BIT. (L0_fill_range): Bugfix: the mask1 calculation was producing all-zero in the condition bt1 == BITCELL_BIT; it should produce an all-ones mask.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a56288cf..d3191013 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
2014-01-13 Kaz Kylheku <kaz@kylheku.com>
+ Bugfix in regex char ranges affecting ranges whose upper end
+ corresponds to the high bit of a bitmap cell: for instance
+ the character \x7f when the cell size is 32 bits.
+
+ * regex.c (BITCELL_ALL1): Unused macro removed.
+ (BITCELL_BIT): New macro to replace occurrences of a repeated
+ expression.
+ (CHAR_SET_INDEX, CHAR_SET_BIT): Updated to use BITCELL_BIT.
+ (L0_fill_range): Bugfix: the mask1 calculation was producing all-zero
+ in the condition bt1 == BITCELL_BIT; it should produce an all-ones
+ mask.
+
+2014-01-13 Kaz Kylheku <kaz@kylheku.com>
+
Version 74
* txr.c (version): Bumped.