diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-11-15 12:56:49 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-22 13:32:56 -0800 |
commit | c0a1231c8295dfaa30e23dc00813fea211d1c487 (patch) | |
tree | 1e18bd5fd83b9112db7f3e0b4d112691cfffd8e0 /handy.h | |
parent | 93199213fe2278dbeb8034ddd29f1260291b5579 (diff) | |
download | perl-c0a1231c8295dfaa30e23dc00813fea211d1c487.tar.gz |
handy.h: New #define to use new bit
This creates a new macro for use by regcomp to test the new bit
regarding non-ascii folds.
Because the semantics may change in the future to deal with multi-char
folds, the name of the macro is unwieldy and specific enough that no one
should be tempted to use it.
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -609,6 +609,7 @@ patched there. The file as of this writing is cpan/Devel-PPPort/parts/inc/misc # 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)) +# define _NONLATIN1_FOLD_CLOSURE_ONLY_FOR_USE_BY_REGCOMP_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') # ifdef EBCDIC |