diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-09-21 15:09:12 -0600 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-09-22 22:56:59 -0700 |
commit | 43fead97d9090f614849cdd8195a6900ee682952 (patch) | |
tree | 9c5a9d1e414d30771e030fde51389a489b2c71ce /regcomp.c | |
parent | dff5e0c4913cbbc4e73cece5cd747e7aa222db67 (diff) | |
download | perl-43fead97d9090f614849cdd8195a6900ee682952.tar.gz |
regcomp.c: Convert some things to use cBOOL()
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -368,10 +368,10 @@ static const scan_data_t zero_scan_data = #define SCF_TRIE_RESTUDY 0x4000 /* Do restudy? */ #define SCF_SEEN_ACCEPT 0x8000 -#define UTF (RExC_utf8 != 0) -#define LOC ((RExC_flags & RXf_PMf_LOCALE) != 0) -#define UNI_SEMANTICS ((RExC_flags & RXf_PMf_UNICODE) != 0) -#define FOLD ((RExC_flags & RXf_PMf_FOLD) != 0) +#define UTF cBOOL(RExC_utf8) +#define LOC cBOOL(RExC_flags & RXf_PMf_LOCALE) +#define UNI_SEMANTICS cBOOL(RExC_flags & RXf_PMf_UNICODE) +#define FOLD cBOOL(RExC_flags & RXf_PMf_FOLD) #define OOB_UNICODE 12345678 #define OOB_NAMEDCLASS -1 |