This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.h: Add synonyms for flag names
authorKarl Williamson <khw@cpan.org>
Mon, 26 Jun 2017 17:43:21 +0000 (11:43 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 13 Jul 2017 03:14:25 +0000 (21:14 -0600)
commitd044b7a780a1f1916e96ed7d255bb0b7dad54713
treea5546bb6e038dcc30b9c8d73cd8fa7b99a9d1e37
parent9e35eec98dba17eb946a8462b68223b962fdcf46
utf8.h: Add synonyms for flag names

The next commit will fix the detection of using Perl's extended UTF-8 to
be more accurate.  The current name for various flags in the API is
somewhat misleading.  What is really wanted to know is if extended UTF-8
was used, not the value of the resultant code point.

This commit basically does

    s/ABOVE_31_BIT/PERL_EXTENDED/g

It also similarly changes the name of a hash key in APItest/t/utf8.t.

This intermediary step makes the next commit easier to read.
ext/XS-APItest/t/utf8.t
ext/XS-APItest/t/utf8_setup.pl
ext/XS-APItest/t/utf8_warn_base.pl
inline.h
utf8.c
utf8.h