This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Fix up a Unihan property
authorKarl Williamson <public@khwilliamson.com>
Tue, 11 Oct 2011 02:04:38 +0000 (20:04 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 8 Nov 2011 15:09:25 +0000 (08:09 -0700)
Prior to the specified Unicode release, this property was not handled by
the code without special work.  After that, it came packaged with other
properties that the code can handle.

lib/unicore/mktables

index 5d82d9e..8da64ca 100644 (file)
@@ -851,9 +851,11 @@ my %global_to_output_map = (
 );
 
 # Properties that this program ignores.
-my @unimplemented_properties = (
-'Unicode_Radical_Stroke'    # Remove if changing to handle this one.
-);
+my @unimplemented_properties;
+
+# With this release, it is automatically handled if the Unihan db is
+# downloaded
+push @unimplemented_properties, 'Unicode_Radical_Stroke' if $v_version le v5.2.0;
 
 # There are several types of obsolete properties defined by Unicode.  These
 # must be hand-edited for every new Unicode release.