@@ -420,9 +420,8 @@ struct RExC_state_t {
420
420
RExC_naughty += RExC_naughty / (exp) + (add)
421
421
422
422
#define isNON_BRACE_QUANTIFIER (c ) ((c) == '*' || (c) == '+' || (c) == '?')
423
- #define isQUANTIFIER (s ,e ) \
424
- ( isNON_BRACE_QUANTIFIER(*s) \
425
- || ((*s) == '{' && regcurly(s, e, NULL)))
423
+ #define isQUANTIFIER (s ,e ) \
424
+ ( isNON_BRACE_QUANTIFIER(*s) || ((*s) == '{' && regcurly(s, e, NULL)))
426
425
427
426
/*
428
427
* Flags to be passed up.
@@ -744,22 +743,17 @@ static const scan_data_t zero_scan_data = {
744
743
745
744
/* The enums for all these are ordered so things work out correctly */
746
745
#define LOC (get_regex_charset(RExC_flags) == REGEX_LOCALE_CHARSET)
747
- #define DEPENDS_SEMANTICS \
748
- (get_regex_charset(RExC_flags) \
749
- == REGEX_DEPENDS_CHARSET)
746
+ #define DEPENDS_SEMANTICS \
747
+ (get_regex_charset(RExC_flags) == REGEX_DEPENDS_CHARSET)
750
748
#define UNI_SEMANTICS (get_regex_charset(RExC_flags) == REGEX_UNICODE_CHARSET)
751
- #define AT_LEAST_UNI_SEMANTICS \
752
- (get_regex_charset(RExC_flags) \
753
- >= REGEX_UNICODE_CHARSET)
754
- #define ASCII_RESTRICTED \
755
- (get_regex_charset(RExC_flags) \
756
- == REGEX_ASCII_RESTRICTED_CHARSET)
749
+ #define AT_LEAST_UNI_SEMANTICS \
750
+ (get_regex_charset(RExC_flags) >= REGEX_UNICODE_CHARSET)
751
+ #define ASCII_RESTRICTED \
752
+ (get_regex_charset(RExC_flags) == REGEX_ASCII_RESTRICTED_CHARSET)
757
753
#define AT_LEAST_ASCII_RESTRICTED \
758
- (get_regex_charset(RExC_flags) \
759
- >= REGEX_ASCII_RESTRICTED_CHARSET)
760
- #define ASCII_FOLD_RESTRICTED \
761
- (get_regex_charset(RExC_flags) \
762
- == REGEX_ASCII_MORE_RESTRICTED_CHARSET)
754
+ (get_regex_charset(RExC_flags) >= REGEX_ASCII_RESTRICTED_CHARSET)
755
+ #define ASCII_FOLD_RESTRICTED \
756
+ (get_regex_charset(RExC_flags) == REGEX_ASCII_MORE_RESTRICTED_CHARSET)
763
757
764
758
#define FOLD cBOOL(RExC_flags & RXf_PMf_FOLD)
765
759
0 commit comments