This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/mk_invlists.pl: Revamp #if generation
authorKarl Williamson <khw@cpan.org>
Thu, 19 Feb 2015 04:49:16 +0000 (21:49 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 20 Feb 2015 05:55:01 +0000 (22:55 -0700)
commitbffc0129838467aca7ff705648325416f784103b
treeb73ba6e3d4b25c1c22063a51f45937eb2e565544
parent99f21fb92b1b4439457ea2dcec73032345fe4fea
regen/mk_invlists.pl: Revamp #if generation

This changes where the symbols are defined to a single file each.  This
may save text space, depending on the compiler.  The next commit will
cause this hdr to be included in more places, so it becomes more
important to do this.

At the same time this removes the guard for #ifndef PERL_IN_XSUB_RE.
The code now is executed regardless of that.  This is simpler, and
previously there might have been the possibility of uninitialized memory
being read, should re_comp.o be executed before recomp.o.
charclass_invlists.h
regcomp.c
regen/mk_invlists.pl