mktables: Refactor a string set.
authorKarl Williamson <public@khwilliamson.com>
Mon, 17 Oct 2011 17:01:56 +0000 (11:01 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 8 Nov 2011 15:09:27 +0000 (08:09 -0700)
The unadorned full name will be needed for future commits

lib/unicore/mktables

index 74c3b58..2e67281 100644 (file)
@@ -14358,8 +14358,7 @@ sub write_all_tables() {
 
                     # The full name of this property is stored by convention
                     # first in the alias array
-                    my $full_property_name =
-                                '\p{' . $property_aliases[0]->name . ': *}';
+                    my $full_property_name = $property_aliases[0]->name;
                     my $standard_property_name = standardize($table->name);
 
                     # For each synonym ...
@@ -14388,7 +14387,7 @@ sub write_all_tables() {
                                 || ! defined $pod_directory
                                 || ! $alias->make_re_pod_entry;
 
-                        my $rhs = $full_property_name;
+                        my $rhs = "\\p{$full_property_name: *}";
                         if ($property != $perl && $table->perl_extension) {
                             $rhs .= ' (Perl extension)';
                         }