From d2b7f31e8368e71f4af425b35407d3c0db9c61cf Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 14 Aug 2013 10:01:53 -0600 Subject: 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. --- proto.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'proto.h') 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) -- cgit v1.2.1