X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/c2da0b36ccf7393a329af732fac4153ddf6ab42e..48895a0d16aef33c200bc9a07f22e18c23597c2a:/handy.h?ds=sidebyside diff --git a/handy.h b/handy.h index 3eb8e51..b48353e 100644 --- a/handy.h +++ b/handy.h @@ -593,7 +593,7 @@ patched there. The file as of this writing is cpan/Devel-PPPort/parts/inc/misc /* The lower 3 bits in both the ASCII and EBCDIC representations of '0' are 0, * and the 8 possible permutations of those bits exactly comprise the 8 octal * digits */ -#define isOCTAL_A(c) cBOOL(FITS_IN_8_BITS(c) && (0xF8 & (c)) eq '0') +#define isOCTAL_A(c) cBOOL(FITS_IN_8_BITS(c) && (0xF8 & (c)) == '0') /* ASCII range only */ @@ -778,7 +778,7 @@ EXTCONST U32 PL_charclass[]; # define toLOWER(c) tolower(c) # define toUPPER(c) toupper(c) #else /* Not EBCDIC: ASCII-only matching */ -# define isALNUMC(c) isALNUMC_A(c) +# define isALNUMC(c) isALNUMC_A(c) /* Mnemonic: "C's alnum" = alpha + digit */ # define isALPHA(c) isALPHA_A(c) # define isBLANK(c) isBLANK_A(c) # define isCNTRL(c) isCNTRL_A(c) @@ -1316,8 +1316,8 @@ void Perl_mem_log_del_sv(const SV *sv, const char *filename, const int linenumbe * Local variables: * c-indentation-style: bsd * c-basic-offset: 4 - * indent-tabs-mode: t + * indent-tabs-mode: nil * End: * - * ex: set ts=8 sts=4 sw=4 noet: + * ex: set ts=8 sts=4 sw=4 et: */