This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/mk_PL_charclass.pl: Rmv hard-coded char names
authorKarl Williamson <public@khwilliamson.com>
Sun, 17 Mar 2013 04:48:22 +0000 (22:48 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 31 May 2014 16:02:23 +0000 (10:02 -0600)
commit620ee5ce512ac1f44b9abe95c6b17323767c8f0f
treec275ae2ba31ce8041f568e6e39167cbeca52cb4e
parent80836a6e6831e963c975485a02ff412288031439
regen/mk_PL_charclass.pl: Rmv hard-coded char names

Since this program was written, the abbreviated names of the control
characters have become available from charnames::viacode().  We change
to use these instead of hard-coding them in.

At the same time, this shortens the names for some of the other
characters in cases where it is easy to read the short ones.

It also changes to use mnemonics instead of hard-coded ordinals, like
using ASCII instead of x < 128.  This allows it to be run on an EBCDIC
platform.
l1_char_class_tab.h
regen/mk_PL_charclass.pl