From ea0673eedc20f778f2cefa666a956a24320bcad3 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Mon, 24 Jul 2017 14:58:58 +0100 Subject: rename RX_HAS_CUTGROUP() to RXp_HAS_CUTGROUP() It takes a private/internal regexp* pointer rather than a public REGEXP pointer, so rename it to match the other RXp_ macros. Most RXp_ macros are a variant of an RX_ macro; however, I didn't add an RX_HAS_CUTGROUP() macro - someone can always add that if needed. (There's only one use of RXp_HAS_CUTGROUP in core). --- regexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regexp.h') diff --git a/regexp.h b/regexp.h index e8758993ad..eca383523f 100644 --- a/regexp.h +++ b/regexp.h @@ -474,7 +474,7 @@ and check for NULL. # define RX_MATCH_TAINTED_off(rx_sv) (RX_EXTFLAGS(rx_sv) &= ~RXf_TAINTED_SEEN) #endif -#define RX_HAS_CUTGROUP(prog) ((prog)->intflags & PREGf_CUTGROUP_SEEN) +#define RXp_HAS_CUTGROUP(prog) ((prog)->intflags & PREGf_CUTGROUP_SEEN) #define RX_MATCH_TAINTED_set(rx_sv, t) ((t) \ ? RX_MATCH_TAINTED_on(rx_sv) \ -- cgit v1.2.1