diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-02-03 09:29:32 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-02-03 21:41:28 -0700 |
commit | b5864679105af6175b09ab741bac713df8abf7fd (patch) | |
tree | 81b7155e4e878a8ec7ede8862dd5def68dc41a9f /proto.h | |
parent | f4f5fe57a6038d0f7d0c320bc9204a232dbd874f (diff) | |
download | perl-b5864679105af6175b09ab741bac713df8abf7fd.tar.gz |
Add interpolations to regex sets
This commit adds the capability for '(?[ ])' to contain interpolated
variables from other '(?[ ])' constructs. A set operation can thus be
built up from the composition of other ones, without having to worry
about precedence, etc.
Thanks to Aaron Crane for suggesting this.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6516,10 +6516,10 @@ STATIC bool S_grok_bslash_N(pTHX_ struct RExC_state_t *pRExC_state, regnode** no #define PERL_ARGS_ASSERT_GROK_BSLASH_N \ assert(pRExC_state); assert(flagp) -STATIC regnode* S_handle_regex_sets(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth, char * const oregcomp_parse) +STATIC regnode* S_handle_regex_sets(pTHX_ struct RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth, char * const oregcomp_parse) __attribute__nonnull__(pTHX_1) - __attribute__nonnull__(pTHX_2) - __attribute__nonnull__(pTHX_4); + __attribute__nonnull__(pTHX_3) + __attribute__nonnull__(pTHX_5); #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS \ assert(pRExC_state); assert(flagp); assert(oregcomp_parse) |