summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-08-14 10:01:53 -0600
committerKarl Williamson <public@khwilliamson.com>2013-09-24 11:36:13 -0600
commitd2b7f31e8368e71f4af425b35407d3c0db9c61cf (patch)
treebfe45375a1135b0603711a59a98fe52e279339e9 /proto.h
parent9991ebf10b0e2a7e04fa47e0b73fdf86b19f7dec (diff)
downloadperl-d2b7f31e8368e71f4af425b35407d3c0db9c61cf.tar.gz
regcomp.c: Rework static function call; comments
The previous commit just extracted out code into a function. This commit renames a parameter for clarity, combines two parameters to make the interface cleaner, and adds and moves comments around.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/proto.h b/proto.h
index 6f41f4f0d4..81fb87ff74 100644
--- a/proto.h
+++ b/proto.h
@@ -6835,12 +6835,11 @@ STATIC void S_scan_commit(pTHX_ const struct RExC_state_t *pRExC_state, struct s
#define PERL_ARGS_ASSERT_SCAN_COMMIT \
assert(pRExC_state); assert(data); assert(minlenp)
-STATIC void S_set_ANYOF_arg(pTHX_ struct RExC_state_t* const pRExC_state, regnode* const ret, SV* const cp_list, SV* const listsv, const STRLEN initial_listsv_len, SV* const swash, const bool has_user_defined_property)
+STATIC void S_set_ANYOF_arg(pTHX_ struct RExC_state_t* const pRExC_state, regnode* const node, SV* const cp_list, SV* const runtime_defns, SV* const swash, const bool has_user_defined_property)
__attribute__nonnull__(pTHX_1)
- __attribute__nonnull__(pTHX_2)
- __attribute__nonnull__(pTHX_4);
+ __attribute__nonnull__(pTHX_2);
#define PERL_ARGS_ASSERT_SET_ANYOF_ARG \
- assert(pRExC_state); assert(ret); assert(listsv)
+ assert(pRExC_state); assert(node)
STATIC SSize_t S_study_chunk(pTHX_ struct RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U8* recursed, regnode_ssc *and_withp, U32 flags, U32 depth)
__attribute__nonnull__(pTHX_1)