This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.h: Remove some EBCDIC dependencies
authorKarl Williamson <public@khwilliamson.com>
Thu, 6 Sep 2012 02:32:29 +0000 (20:32 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 14 Sep 2012 03:14:04 +0000 (21:14 -0600)
commitb96a92fb2dbf3acb43641479fc731469e1de9f6c
treeb4fe776a41b8764ea8b916796d1c70bd3a1c8fa5
parent6e130234c25b195bf5141bd859d947ec051416ec
utf8.h: Remove some EBCDIC dependencies

regen/regcharclass.pl has been enhanced in previous commits so that it
generates as good code as these hand-defined macro definitions for
various UTF-8 constructs.  And, it should be able to generate EBCDIC
ones as well.  By using its definitions, we can remove the EBCDIC
dependencies for them.  It is quite possible that the EBCDIC versions
were wrong, since they have never been tested.  Even if
regcharclass.pl has bugs under EBCDIC, it is easier to find and fix
those in one place, than all the sundry definitions.
regcharclass.h
regen/regcharclass.pl
utf8.h