summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-02-25 23:19:39 -0700
committerKarl Williamson <khw@cpan.org>2015-03-19 21:10:03 -0600
commit6798c95dd27b33efd71f394c18649af7bbaf42b7 (patch)
treeb8ac326854bc4865f83453c91b768bc30f110391 /proto.h
parent9269c59f17a7bb8e6d97c55ab987b934cfb48034 (diff)
downloadperl-6798c95dd27b33efd71f394c18649af7bbaf42b7.tar.gz
Change /(?[...]) to have normal operator precedence
This experimental feature now has the intersection operator ("&") higher precedence than the other binary operators.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 4bc200dae6..f45a4a3617 100644
--- a/proto.h
+++ b/proto.h
@@ -7100,6 +7100,9 @@ STATIC regnode* S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 dept
#define PERL_ARGS_ASSERT_REGCLASS \
assert(pRExC_state); assert(flagp)
+STATIC unsigned int S_regex_set_precedence(const U8 my_operator)
+ __attribute__pure__;
+
STATIC void S_reginsert(pTHX_ RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_3);