diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-11-28 20:16:06 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-11-29 08:59:03 -0700 |
commit | f91dcd139f8093525e1a00c3803de98b1bf89cab (patch) | |
tree | c04a824820a33b47469fb88c742edccca993a3b3 /proto.h | |
parent | d65654cb6cbb4fc9585a24b036a3a7a4cc1f1fa5 (diff) | |
download | perl-f91dcd139f8093525e1a00c3803de98b1bf89cab.tar.gz |
Make isIDFIRST_uni() return identically as isIDFIRST_utf8()
These two macros should have the same results for the same input code
points. Prior to this patch, the _uni() macro returned the official
Unicode ID_Start property, and the _utf8() macro returned Perl's
slightly restricted definition. Now both return Perl's.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,9 @@ PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op) #define PERL_ARGS_ASSERT_SLAB_FREE \ assert(op) +PERL_CALLCONV bool Perl__is_uni_perl_idstart(pTHX_ UV c) + __attribute__warn_unused_result__; + PERL_CALLCONV bool Perl__is_utf8_perl_idstart(pTHX_ const U8 *p) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); |