+ # Make "n/a" strings unique
+ if ($short eq 'n/a') {
+ $short .= sprintf("%03d", $propNA++);
+ }
+ my $long = $fields[0];
+ if ($long eq 'n/a') {
+ $long .= sprintf("%03d", $propNA++);
+ }
+
+ # Add long name->short name to the hash=pa hash table
+ if (exists $hash->{$long}) {
+ die "Error: Duplicate property $long in $filename"
+ }
+ $hash->{$long} = $short;
+ $fam->{$long} = $family;
+
+ # Add the list of further aliases to the additional_property_aliases hash table,
+ # using the long property name as the key.
+ # For example:
+ # White_Space->space|outer_space
+ if (@fields > 1) {
+ my $value = pop @fields;
+ while (@fields > 1) {
+ $value .= "|" . pop @fields;
+ }
+ $additional_property_aliases{$long} = $value;
+ }
+ } else {