This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.h: Refactor macro definition
authorKarl Williamson <khw@cpan.org>
Fri, 6 Nov 2015 18:42:27 +0000 (11:42 -0700)
committerKarl Williamson <khw@cpan.org>
Sun, 6 Dec 2015 05:06:50 +0000 (22:06 -0700)
commit7028aebabf3fb76f73327317cf199bc5cde380b1
tree788b209b68f859d59ad72a4380cc2219d0597cf8
parent2084b489821c169e435fdad8723ad64f26eee179
utf8.h: Refactor macro definition

This changes to use the underlying UTF-8 structure to compute the
numbers in this macro, instead of hand-specifying the resultant ones.
Thus, this macro, with minor tweaks, is the same text on both ASCII and
EBCDIC platforms (though the resultant numbers differ), and the next
commit will change them to use it in common.
utf8.h