This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Use Input_file class for always skipped files
authorKarl Williamson <khw@cpan.org>
Mon, 27 Jul 2015 04:18:02 +0000 (22:18 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 29 Jul 2015 04:15:57 +0000 (22:15 -0600)
commitd47a7529759ebdc12b1c99229f4d7c6bc649df62
treee94d30e2861e47a2dfba6735b314d3023b91141d
parent58576123d330fbdebff4faa5b28abe69c8028923
mktables: Use Input_file class for always skipped files

Until this commit there were two mechanisms available to specify files
in the Unicode Character Database are not used by mktables.  Now there
is one.  The global that contained such files is deleted, and instead
all such files are specified by an Input_file class object.  This has
the advantage of just one method, and the constructor already has
parameters to specify when a file first appeared, and when it was
removed.  This allows automatic generation of the pod, listing just the
appropriate files for the version being compiled.  It also allows for
the automatic check of all files to see that they are DOS 8.3 filesystem
compatible.  And it allows for some code simplification.

Unicode specifies some .html files in the UCD.  These are always skipped
(so far, and likely forever), and were in the global.  Now they are in
the constructor, which means that the code that looks for potential
files that aren't being handled has to be changed to also look for .html
files as well.
charclass_invlists.h
lib/unicore/mktables
regcharclass.h