diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-01-10 15:03:39 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-01-11 11:50:37 -0700 |
commit | 8316ead628e0766f9c676352d8fa10eddbede091 (patch) | |
tree | 9e8b2a4aa9174db9220153dd334d83af92c56a19 /proto.h | |
parent | 95db3ffad52173bfbe00b362573cc33a6d4c6677 (diff) | |
download | perl-8316ead628e0766f9c676352d8fa10eddbede091.tar.gz |
regcomp.c: Add parameter to regclass()
This parameter allows the caller to specify whether multi-character
folds should be allowed or not. In general it should, and in the case
where this commit says it shouldn't, they never are returned anyway from
Unicode properties.
This capability will be put to real use by future commits
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6639,7 +6639,7 @@ STATIC regnode* S_regbranch(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, #define PERL_ARGS_ASSERT_REGBRANCH \ assert(pRExC_state); assert(flagp) -STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth, const bool stop_at_1) +STATIC regnode* S_regclass(pTHX_ struct RExC_state_t *pRExC_state, I32 *flagp, U32 depth, const bool stop_at_1, bool allow_multi_fold) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); #define PERL_ARGS_ASSERT_REGCLASS \ |