Unicode::UCD: Use 6.1 format for Name_Alias
authorKarl Williamson <public@khwilliamson.com>
Fri, 30 Dec 2011 02:14:07 +0000 (19:14 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 30 Dec 2011 04:11:51 +0000 (21:11 -0700)
commit58b75e361ab3c69893639c37026611faa2ed9b35
tree8593181d20b704d52f8a65c25c76976130cf3915
parent44bed85634c450533d59ae9e371037dde0101d51
Unicode::UCD: Use 6.1 format for Name_Alias

The Name_Alias property is changing significantly in Unicode 6.1.  It
will have an extra value for each alias (and there will be a lot more
aliases).  That extra value is considered informative, and gives the
type of alias this is.  prop_invmap() should return both the alias and
its type.  This commit changes it so that even in 6.0, it will return
what it is going to return in 6.1 (for the 6.0 aliases).

This function has not been released in a stable Perl version.  Thus,
this gets the ultimate format into Perl before anyone has come to depend
on the earlier one.

squish
lib/Unicode/UCD.pm
lib/unicore/mktables