This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Improve handling of optional files
authorKarl Williamson <khw@cpan.org>
Sun, 26 Jul 2015 16:14:11 +0000 (10:14 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 29 Jul 2015 04:15:57 +0000 (22:15 -0600)
commit3274d896959c79d3fd5bbabb3531d1621e0e75e5
tree98029b63d8716ff1706b14f1fe32a0ff284ca5f4
parent40045c2dc40cf1b01b320582aeba458374673fe2
mktables: Improve handling of optional files

Some files in the Unicode Character Database are optional for perl.
Currently these are all Unihan files for East Asian languages.  This
commit adds infrastructure to the class for input file objects to more
automatically handle the case when the file is present vs not.
Currently, one has to hand edit mktables to cope with the file getting
plunked down in the directory to be compiled.  This commit is a step
towards making the editing unnecessary.
charclass_invlists.h
lib/unicore/mktables
regcharclass.h