diff options
author | Karl Williamson <khw@cpan.org> | 2019-07-15 12:14:46 -0600 |
---|---|---|
committer | Nicolas R <atoomic@cpan.org> | 2019-09-27 16:51:28 -0600 |
commit | e17f68231dd7d8e7771a792525d5dbb108b9a2dc (patch) | |
tree | f46dddfbff66b9ee8d0d2bcc487774b77203ec7a /dist/Devel-PPPort | |
parent | 876aded1458f31b26fdc9475be238ff43d5805c2 (diff) | |
download | perl-e17f68231dd7d8e7771a792525d5dbb108b9a2dc.tar.gz |
parts/inc/misc: Comment, white-space only
(cherry picked from commit e28c70d049c63a8d4272ea2bf5b8b22344a1d395)
Signed-off-by: Nicolas R <atoomic@cpan.org>
Diffstat (limited to 'dist/Devel-PPPort')
-rw-r--r-- | dist/Devel-PPPort/parts/inc/misc | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/dist/Devel-PPPort/parts/inc/misc b/dist/Devel-PPPort/parts/inc/misc index 766e543b2f..8bc5e568da 100644 --- a/dist/Devel-PPPort/parts/inc/misc +++ b/dist/Devel-PPPort/parts/inc/misc @@ -304,9 +304,9 @@ __UNDEFINED__ LATIN1_TO_NATIVE(c) (c) #ifdef EBCDIC -/* This is the first version where these macros are fully correct. Relying on - * the C library functions, as earlier releases did, causes problems with - * locales */ +/* This is the first version where these macros are fully correct on EBCDIC + * platforms. Relying on * the C library functions, as earlier releases did, + * causes problems with * locales */ # if { VERSION < 5.22.0 } # undef isALNUM # undef isALNUM_A @@ -465,6 +465,7 @@ __UNDEFINED__ isUPPER(c) ( (c) >= 'A' && (c) <= 'Z' # undef isSPACE # undef isSPACE_A # undef isSPACE_L1 + # endif __UNDEFINED__ isASCII(c) ((WIDEST_UTYPE) (c) <= 127) @@ -473,6 +474,7 @@ __UNDEFINED__ isCNTRL_L1(c) (isCNTRL(c) || ( (WIDEST_UTYPE) (c) <= 0x9F \ && (WIDEST_UTYPE) (c) >= 0x80)) __UNDEFINED__ isLOWER(c) ((c) >= 'a' && (c) <= 'z') __UNDEFINED__ isUPPER(c) ((c) <= 'Z' && (c) >= 'A') + #endif /* Below are definitions common to EBCDIC and ASCII */ __UNDEFINED__ isASCII_L1(c) isASCII(c) @@ -508,16 +510,16 @@ __UNDEFINED__ isPRINT(c) (isGRAPH(c) || (c) == ' ') __UNDEFINED__ isPRINT_L1(c) ((WIDEST_UTYPE) (c) < 256 && ! isCNTRL_L1(c)) __UNDEFINED__ isPSXSPC(c) isSPACE(c) __UNDEFINED__ isPSXSPC_L1(c) isSPACE_L1(c) -__UNDEFINED__ isPUNCT(c) ( (c) == '-' || (c) == '!' || (c) == '"' \ - || (c) == '#' || (c) == '$' || (c) == '%' \ - || (c) == '&' || (c) == '\'' || (c) == '(' \ - || (c) == ')' || (c) == '*' || (c) == '+' \ - || (c) == ',' || (c) == '.' || (c) == '/' \ - || (c) == ':' || (c) == ';' || (c) == '<' \ - || (c) == '=' || (c) == '>' || (c) == '?' \ - || (c) == '@' || (c) == '[' || (c) == '\\' \ - || (c) == ']' || (c) == '^' || (c) == '_' \ - || (c) == '`' || (c) == '{' || (c) == '|' \ +__UNDEFINED__ isPUNCT(c) ( (c) == '-' || (c) == '!' || (c) == '"' \ + || (c) == '#' || (c) == '$' || (c) == '%' \ + || (c) == '&' || (c) == '\'' || (c) == '(' \ + || (c) == ')' || (c) == '*' || (c) == '+' \ + || (c) == ',' || (c) == '.' || (c) == '/' \ + || (c) == ':' || (c) == ';' || (c) == '<' \ + || (c) == '=' || (c) == '>' || (c) == '?' \ + || (c) == '@' || (c) == '[' || (c) == '\\' \ + || (c) == ']' || (c) == '^' || (c) == '_' \ + || (c) == '`' || (c) == '{' || (c) == '|' \ || (c) == '}' || (c) == '~') __UNDEFINED__ isPUNCT_L1(c) ( isPUNCT(c) \ || ( (WIDEST_UTYPE) (c) < 256 \ @@ -528,7 +530,7 @@ __UNDEFINED__ isPUNCT_L1(c) ( isPUNCT(c) \ || NATIVE_TO_LATIN1((U8) c) == 0xB7 \ || NATIVE_TO_LATIN1((U8) c) == 0xBB \ || NATIVE_TO_LATIN1((U8) c) == 0xBF))) -__UNDEFINED__ isSPACE(c) ( isBLANK(c) || (c) == '\n' || (c) == '\r' \ +__UNDEFINED__ isSPACE(c) ( isBLANK(c) || (c) == '\n' || (c) == '\r' \ || (c) == '\v' || (c) == '\f') __UNDEFINED__ isSPACE_L1(c) ( isSPACE(c) \ || ( (WIDEST_UTYPE) (c) < 256 \ @@ -541,8 +543,8 @@ __UNDEFINED__ isUPPER_L1(c) ( isUPPER(c) \ && NATIVE_TO_LATIN1((U8) c) != 0xD7))) __UNDEFINED__ isWORDCHAR(c) (isALPHANUMERIC(c) || (c) == '_') __UNDEFINED__ isWORDCHAR_L1(c) (isIDFIRST_L1(c) || isDIGIT(c)) -__UNDEFINED__ isXDIGIT(c) ( isDIGIT(c) \ - || ((c) >= 'a' && (c) <= 'f') \ +__UNDEFINED__ isXDIGIT(c) ( isDIGIT(c) \ + || ((c) >= 'a' && (c) <= 'f') \ || ((c) >= 'A' && (c) <= 'F')) __UNDEFINED__ isXDIGIT_L1(c) isXDIGIT(c) |