diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-07-08 11:37:24 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-07-08 16:21:04 -0600 |
commit | bce3d7a428b0a811f0327402e049fd428886eaae (patch) | |
tree | 59dc029a8f44802ec8976b7b46a9ce0bfa886fea /handy.h | |
parent | c220e1a11e00efe060ea99925553cb1e03e3363a (diff) | |
download | perl-bce3d7a428b0a811f0327402e049fd428886eaae.tar.gz |
handy.h: Fix broken is_ASCII_utf8()
Tests to follow in a future commit.
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -991,7 +991,7 @@ EXTCONST U32 PL_charclass[]; #define isUPPER_utf8(p) generic_utf8(isUPPER, is_utf8_upper, p) #define isLOWER_utf8(p) generic_utf8(isLOWER, is_utf8_lower, p) /* Because ASCII is invariant under utf8, the non-utf8 macro works */ -#define isASCII_utf8(p) isASCII(p) +#define isASCII_utf8(p) isASCII(*p) #define isCNTRL_utf8(p) generic_utf8(isCNTRL, is_utf8_cntrl, p) #define isGRAPH_utf8(p) generic_utf8(isGRAPH, is_utf8_graph, p) #define isPRINT_utf8(p) generic_utf8(isPRINT, is_utf8_print, p) |