This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/regcharclass.pl: Rmv always true components from gen'd macro
authorKarl Williamson <public@khwilliamson.com>
Wed, 5 Sep 2012 15:30:34 +0000 (09:30 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 14 Sep 2012 03:14:03 +0000 (21:14 -0600)
commit30188af71480bee44fe725708944a74f91763cf2
tree8c0fa631d3b2b2fe28d452954244c39d2589de92
parent2efb81438aa4370f4aeabca6e03ab28f3bd552fb
regen/regcharclass.pl: Rmv always true components from gen'd macro

This adds a test and returns 1 from a subroutine if the condition will
always match; and in the caller it adds a check for that, and omits the
condition from the generated macro.
regen/regcharclass.pl