This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/regcharclass.pl: Generate correct macro instead of skipping
authorKarl Williamson <public@khwilliamson.com>
Tue, 11 Mar 2014 21:47:53 +0000 (15:47 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 12 Mar 2014 19:27:55 +0000 (13:27 -0600)
commit8120045400790e80eeca2ed84ec4decbaa9c27a6
tree1c847a7dc9095582311d393a55596e4d52b17b24
parentf7866a8bf5b54e475ca2ed917f5767b7573c6c8e
regen/regcharclass.pl: Generate correct macro instead of skipping

It makes no sense to check for length safeness for The macros generated
by this program which take a single UV code point as a parameter. Prior
to this patch, it would skip trying to generate them if asked.  But,
because of the way things are structured, that means that if you need
just this and the safe versions, you can't do it so easily.  What this
commit does is generate the cp macro if requested even if the 'safe'
version of other macros are also requested.
regen/regcharclass.pl