summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorYves Orton <yves.orton@booking.com>2014-01-30 18:35:02 +0800
committerYves Orton <yves.orton@booking.com>2014-01-31 01:45:34 +0800
commit58430ea8e40621565404595aac210ff61babed01 (patch)
treeed36f239bb5bc183548b2854c7d3532b17a50ba7 /regcomp.h
parent0d331aaf61fba3b76c8d35852b94950c028661de (diff)
downloadperl-58430ea8e40621565404595aac210ff61babed01.tar.gz
move RXf_GPOS_SEEN and RXf_GPOS_FLOAT to intflags
This required removing the RXf_GPOS_CHECK mask as it uses one flag that will stay in extflags for now (RXf_ANCH_GPOS), and one flag that moves to intflags (RXf_GPOS_SEEN). This mask is strange however, as you cant have RXf_ANCH_GPOS without having RXf_GPOS_SEEN so I dont know why we test both. Further investigation required.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index 5dbc1f31e6..a5f04fa8f8 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -136,7 +136,9 @@
#define PREGf_USE_RE_EVAL 0x00000020 /* compiled with "use re 'eval'" */
/* these used to be extflags, but are now intflags */
#define PREGf_NOSCAN 0x00000040
-#define PREGf_CANY_SEEN 0x00000080
+#define PREGf_CANY_SEEN 0x00000080
+#define PREGf_GPOS_SEEN 0x00000100
+#define PREGf_GPOS_FLOAT 0x00000200
/* this is where the old regcomp.h started */