summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-02-16 03:49:52 +0100
committerHugo van der Sanden <hv@crypt.org>2022-02-18 15:08:24 +0000
commit615094ef9383c35e9fb5760a1c6f3f1c92fedc5d (patch)
tree12b271dd0f7fcead41bbbe7f31423ab67bbbaf72 /proto.h
parentc45b45416a61f2f56dbe348f33fb1bb07a1d5444 (diff)
downloadperl-615094ef9383c35e9fb5760a1c6f3f1c92fedc5d.tar.gz
regcomp.c: disambiguate "parse_start" and related var names
This was originally done to make the cleanup of the offsets debug logic easier to follow and understand. 'parse_start' was heavily used in multiple functions, and given the size of the functions in regcomp.c it was often not clear which parse_start was which. 'oregcomp_parse' was also used in a similar way. This patch disambiguates them all so they are all uniquely named and relevant to the code they operate on and of the form "thing_parse_start", (or "thing_parse_start_const" where both were in use).
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 6f7619d3b4..111901d566 100644
--- a/proto.h
+++ b/proto.h
@@ -5880,9 +5880,9 @@ STATIC U32 S_get_quantifier_value(pTHX_ RExC_state_t *pRExC_state, const char *
STATIC bool S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode_offset* nodep, UV *code_point_p, int* cp_count, I32 *flagp, const bool strict, const U32 depth);
#define PERL_ARGS_ASSERT_GROK_BSLASH_N \
assert(pRExC_state); assert(flagp)
-STATIC regnode_offset S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * parse_start, char ch);
+STATIC regnode_offset S_handle_named_backref(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, char * backref_parse_start, char ch);
#define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF \
- assert(pRExC_state); assert(flagp); assert(parse_start)
+ assert(pRExC_state); assert(flagp); assert(backref_parse_start)
STATIC bool S_handle_names_wildcard(pTHX_ const char * wname, const STRLEN wname_len, SV ** prop_definition, AV ** strings);
#define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD \
assert(wname); assert(prop_definition); assert(strings)