This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/mk_PL_charclass.pl: Revamp
authorKarl Williamson <khw@cpan.org>
Tue, 24 Apr 2018 22:47:58 +0000 (16:47 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 25 Jun 2018 13:33:26 +0000 (07:33 -0600)
commitadff23eaac6cc3f89bbba91092686f1aa1cbfa97
tree24fe4c50cb11fc874dd7652ab4c52a2c5f51af30
parent7e970f9a1e9afa6a767a5f7781e7ce13c135f8fc
regen/mk_PL_charclass.pl: Revamp

The change in 5.28 to having precompiled Unicode properties leaves this
program with a chicken-and-egg problem.  Prior to this commit, it used
those properties to construct its output, relying on them to be using
the latest Unicode data, but the code that generates the tables from
that data uses the output of this program, with potentially disastrous
results.

This commit changes to use the data itself, through Unicode::UCD.
l1_char_class_tab.h
regen/mk_PL_charclass.pl