summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-07 11:27:49 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-14 08:41:37 -0700
commitfb9bfbf7a4d5183114622ff2358be7990d9be3aa (patch)
tree52a9b94075c5eaeb68375fa66fe701e2d6d5be5a /handy.h
parent10ee90d23197cab372804843c9ffe601f24ebc3b (diff)
downloadperl-fb9bfbf7a4d5183114622ff2358be7990d9be3aa.tar.gz
Add comments
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index ee4d6683ff..ad2e4b68b2 100644
--- a/handy.h
+++ b/handy.h
@@ -640,6 +640,8 @@ EXTCONST U32 PL_charclass[];
# define isUPPER_A(c) cBOOL(FITS_IN_8_BITS(c) && (PL_charclass[(U8) NATIVE_TO_UNI(c)] & _CC_UPPER_A))
# define isWORDCHAR_A(c) cBOOL(FITS_IN_8_BITS(c) && (PL_charclass[(U8) NATIVE_TO_UNI(c)] & _CC_WORDCHAR_A))
# define isXDIGIT_A(c) cBOOL(FITS_IN_8_BITS(c) && (PL_charclass[(U8) NATIVE_TO_UNI(c)] & _CC_XDIGIT_A))
+ /* Either participates in a fold with a character above 255, or is a
+ * multi-char fold */
# define _HAS_NONLATIN1_FOLD_CLOSURE_ONLY_FOR_USE_BY_REGCOMP_DOT_C_AND_REGEXEC_DOT_C(c) ((! cBOOL(FITS_IN_8_BITS(c))) || (PL_charclass[(U8) NATIVE_TO_UNI(c)] & _CC_NONLATIN1_FOLD))
#else /* No perl.h. */
# define isOCTAL_A(c) ((c) >= '0' && (c) <= '9')