summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-11-08 22:02:22 -0700
committerKarl Williamson <khw@cpan.org>2015-12-09 17:11:54 -0700
commitb18b15ad78b5378109acf3580bf85d23007801d6 (patch)
tree5c151775d66090e5f7b4c42db225ea400e1681b7 /utf8.h
parent98f41bf0fbbb2c91d3881dbd08635ff49a0fb67f (diff)
downloadperl-b18b15ad78b5378109acf3580bf85d23007801d6.tar.gz
utf8.h: Fix macro definition
This has been wrong, and won't compile, should anyone have tried, since 635e76f560b3b3ca075aa2cb5d6d661601968e04 earlier in 5.23.
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index d200c1853e..aefbe376a5 100644
--- a/utf8.h
+++ b/utf8.h
@@ -417,7 +417,7 @@ encoded as UTF-8. C<cp> is a native (ASCII or EBCDIC) code point if less than
* Note that the result can be larger than 255 if the input character is not
* downgradable */
#define TWO_BYTE_UTF8_TO_NATIVE(HI, LO) \
- ( __ASSERT_(UTF8SKIP(HI) == 2) \
+ ( __ASSERT_(PL_utf8skip[HI] == 2) \
__ASSERT_(UTF8_IS_CONTINUATION(LO)) \
UNI_TO_NATIVE(UTF8_ACCUMULATE((NATIVE_UTF8_TO_I8(HI) & UTF_START_MASK(2)), \
(LO))))