This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Refactor populating simple case folding tables
authorKarl Williamson <public@khwilliamson.com>
Sat, 21 Jan 2012 19:57:41 +0000 (12:57 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 4 Feb 2012 23:29:29 +0000 (16:29 -0700)
commit107e47c996d90e8e1bc9bd88746674db28882676
tree46c94a1152dc1f6bfc8591a2b78eab4eef16f926
parentb91749bce0ff3d86c6e210a0b35289b4ad36c144
mktables: Refactor populating simple case folding tables

These three tables are handled alike; this creates a loop to execute the
same instructions on each of them.  Currently there is so little to do,
that it wouldn't be worth it, except that future commits will add
complications, and this makes those easier to handle.

There is now a test that the input data is sane, and instead of
overwriting a value in a table with a known identical value, we skip
that.  This doesn't save much effort, because most of the work is
looking up the value (which we can now check sanity for), but again will
be useful for future commits.
lib/unicore/mktables