diff options
author | David Mitchell <davem@iabyn.com> | 2017-08-01 10:18:47 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2017-08-04 09:12:10 +0100 |
commit | 97f6857b5c2a8f177be8d0a3fad2b17f2178e448 (patch) | |
tree | fb05ef1c236fa6307cd4919340c1e307923d962c /regexp.h | |
parent | e14160708b4f2129dece6ee10bdf6cb7f5abbadb (diff) | |
download | perl-97f6857b5c2a8f177be8d0a3fad2b17f2178e448.tar.gz |
fix RX_MATCH_UTF8_on() macro
v5.27.2-34-g196a02a reorganised the RX_FOO() macros, mostly redefining
them in terms of the RXp_FOO() macros. A cut-an-paste error screwed up
the definition of RX_MATCH_UTF8_on(), which is isn't used in core.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -567,7 +567,7 @@ and check for NULL. #define RXp_MATCH_UTF8(prog) (RXp_EXTFLAGS(prog) & RXf_MATCH_UTF8) #define RX_MATCH_UTF8(rx_sv) (RX_EXTFLAGS(rx_sv) & RXf_MATCH_UTF8) #define RXp_MATCH_UTF8_on(prog) (RXp_EXTFLAGS(prog) |= RXf_MATCH_UTF8) -#define RX_MATCH_UTF8_on(rx_sv) (RXp_EXTFLAGS(ReANY(rx_sv))) +#define RX_MATCH_UTF8_on(rx_sv) (RXp_MATCH_UTF8_on(ReANY(rx_sv))) #define RXp_MATCH_UTF8_off(prog) (RXp_EXTFLAGS(prog) &= ~RXf_MATCH_UTF8) #define RX_MATCH_UTF8_off(rx_sv) (RXp_MATCH_UTF8_off(ReANY(rx_sv)) #define RXp_MATCH_UTF8_set(prog, t) ((t) \ |