summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-06-27 01:30:13 -0600
committerKarl Williamson <khw@cpan.org>2021-07-25 10:15:29 -0600
commit4399381d2fd192c7677b390040305777edee6254 (patch)
treecf04a03aa0c3b83e589cbd963bae6cde6ccff6ca /regcomp.c
parent4e3e2cbbe7f79a964be859af59d59305f7781dbd (diff)
downloadperl-4399381d2fd192c7677b390040305777edee6254.tar.gz
regcomp.c: Use existing macro
Don't reinvent the macro
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index c5e54cc69a..8d3141fc90 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -19100,7 +19100,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth,
* the issues involved */
if (warn_super) {
warn_super = ! (invert
- ^ (invlist_highest(cp_list) > PERL_UNICODE_MAX));
+ ^ (UNICODE_IS_SUPER(invlist_highest(cp_list))));
}
_invlist_union(properties, cp_list, &cp_list);