This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Replace two macro calls with equiv single
authorKarl Williamson <public@khwilliamson.com>
Thu, 16 May 2013 02:55:27 +0000 (20:55 -0600)
committerKarl Williamson <public@khwilliamson.com>
Mon, 20 May 2013 17:01:52 +0000 (11:01 -0600)
commita4f12ed78e91a49ab4fec1f1e637d980366cbc1a
tree6f5bb4d817bf83667a429179703697d10e3f261a
parent33bdd83dc2db4d07c1540394340770a6a07e793e
utf8.c: Replace two macro calls with equiv single

UTF8_IS_ABOVE_LATIN1() is equivalent to
(! UTF8_IS_INVARIANT && !UTF8_IS_DOWNGRADEABLE_START)

So we can use just it, for clearer code with fewer branches.
utf8.c