This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Move code wrongly inside a block
authorKarl Williamson <khw@cpan.org>
Sat, 20 Jun 2015 15:33:58 +0000 (09:33 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 29 Jul 2015 04:15:52 +0000 (22:15 -0600)
This would fail to be executed only for very early Unicode versions, so
wasn't a visible bug.

charclass_invlists.h
lib/unicore/mktables
regcharclass.h

index 5c0bc76..a0f0a05 100644 (file)
@@ -99521,7 +99521,7 @@ static const UV XPosixXDigit_invlist[] = { /* for EBCDIC POSIX-BC */
  * 1a0687fb9c6c4567e853913549df0944fe40821279a3e9cdaa6ab8679bc286fd lib/unicore/extracted/DLineBreak.txt
  * 40bcfed3ca727c19e1331f6c33806231d5f7eeeabd2e6a9e06a3740c85d0c250 lib/unicore/extracted/DNumType.txt
  * a18d502bad39d527ac5586d7bc93e29f565859e3bcc24ada627eff606d6f5fed lib/unicore/extracted/DNumValues.txt
- * de2d7c5ee30e5ce366684287c484d8640e4d47edeb92cc6542981a9ff160cc2c lib/unicore/mktables
+ * 2b4853eaf10099e0285b0ac90b9b68396c32dd4b4955abd486e55ee0372e9809 lib/unicore/mktables
  * 462c9aaa608fb2014cd9649af1c5c009485c60b9c8b15b89401fdc10cf6161c6 lib/unicore/version
  * c6884f4d629f04d1316f3476cb1050b6a1b98ca30c903262955d4eae337c6b1e regen/charset_translations.pl
  * f199f92c0b5f87882b0198936ea8ef3dc43627b57a77ac3eb9250bd2664bbd88 regen/mk_invlists.pl
index eed0039..f60db24 100644 (file)
@@ -9710,6 +9710,7 @@ sub finish_property_setup {
                                               'AL');
             $lb->set_default_map($default);
         }
+    }
 
         # If has the URS property, make sure that the standard aliases are in
         # it, since not in the input tables in some versions.
@@ -9718,7 +9719,6 @@ sub finish_property_setup {
             $urs->add_alias('cjkRSUnicode');
             $urs->add_alias('kRSUnicode');
         }
-    }
 
     # For backwards compatibility with applications that may read the mapping
     # file directly (it was documented in 5.12 and 5.14 as being thusly
index edcbf2d..bd3106a 100644 (file)
  * 1a0687fb9c6c4567e853913549df0944fe40821279a3e9cdaa6ab8679bc286fd lib/unicore/extracted/DLineBreak.txt
  * 40bcfed3ca727c19e1331f6c33806231d5f7eeeabd2e6a9e06a3740c85d0c250 lib/unicore/extracted/DNumType.txt
  * a18d502bad39d527ac5586d7bc93e29f565859e3bcc24ada627eff606d6f5fed lib/unicore/extracted/DNumValues.txt
- * de2d7c5ee30e5ce366684287c484d8640e4d47edeb92cc6542981a9ff160cc2c lib/unicore/mktables
+ * 2b4853eaf10099e0285b0ac90b9b68396c32dd4b4955abd486e55ee0372e9809 lib/unicore/mktables
  * 462c9aaa608fb2014cd9649af1c5c009485c60b9c8b15b89401fdc10cf6161c6 lib/unicore/version
  * c6884f4d629f04d1316f3476cb1050b6a1b98ca30c903262955d4eae337c6b1e regen/charset_translations.pl
  * 5e47f645eac3a918246254e19c06b604c8ea088cf62da5be84dcb953ef2bf16c regen/regcharclass.pl