Skip to content

Commit

Permalink
XXX commnit does more than this: regen/mk_invlists.pl: Remove imprope…
Browse files Browse the repository at this point in the history
…r line

I don't know what this line was supposed to do, but it wasn't working.
  • Loading branch information
khwilliamson committed Apr 15, 2018
1 parent 570966e commit 6508318
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charclass_invlists.h
Original file line number Diff line number Diff line change
Expand Up @@ -170678,5 +170678,5 @@ static const U8 WB_table[24][24] = {
* ea4dc61a00d2db9bd46f3ddec706b5b7b11e8fcf848fb384b54b507fb70d8e90 lib/unicore/mktables
* 21653d2744fdd071f9ef138c805393901bb9547cf3e777ebf50215a191f986ea lib/unicore/version
* 913d2f93f3cb6cdf1664db888bf840bc4eb074eef824e082fceda24a9445e60c regen/charset_translations.pl
* f258cc77ab45ba5583bb3ea39b0859ae9b56030da93d94db4407455925fe5ae5 regen/mk_invlists.pl
* 738252b49facc142cf34bfcf54d5542cabd79c02e41eec3d55d8a52722144fd7 regen/mk_invlists.pl
* ex: set ro: */
7 changes: 3 additions & 4 deletions regen/mk_invlists.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2212,10 +2212,9 @@ ()
# of 0..256, as the remap will also include all of 0..256 (256 not
# 255 because a re-ordering could cause 256 to need to be in the same
# range as 255.)
if ( (@invmap && $maps_to_code_point)
|| ( ! $nonl1_only
|| ( $invlist[0] < 256
&& ! ($invlist[0] == 0 && $invlist[1] > 256))))
if ( (@invmap && $maps_to_code_point)
|| ( ($invlist[0] < 256
&& ($invlist[0] != 0 || (scalar @invlist != 1 && $invlist[1] < 256)))))
{
if (! @invmap) { # Straight inversion list
# Look at all the ranges that start before 257.
Expand Down

0 comments on commit 6508318

Please sign in to comment.