summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-09-30 10:33:22 -0600
committerKarl Williamson <khw@cpan.org>2018-09-30 10:46:33 -0600
commit81ec018c6daca2b4c8c87eb335a371b4c90753f3 (patch)
tree49d828dd22b637d4556f6e135e0fbf4e89b6f9ff /regexec.c
parent5133224233bb01d0fecad317741666793a0a15e1 (diff)
downloadperl-81ec018c6daca2b4c8c87eb335a371b4c90753f3.tar.gz
regexec.c: Rename variable
The new name is clearer as to its meaning, more so after the next commit.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/regexec.c b/regexec.c
index 16a230997e..7cf4cd097a 100644
--- a/regexec.c
+++ b/regexec.c
@@ -10656,20 +10656,20 @@ Perl_isSCRIPT_RUN(pTHX_ const U8 * s, const U8 * send, const bool utf8_target)
|| zero_of_run == '0'
|| script_zeros[script_of_char] == 0))
{
- SSize_t range_zero_index;
- range_zero_index = _invlist_search(decimals_invlist, cp);
- if ( LIKELY(range_zero_index >= 0)
- && ELEMENT_RANGE_MATCHES_INVLIST(range_zero_index))
+ SSize_t zero_of_char_index;
+ zero_of_char_index = _invlist_search(decimals_invlist, cp);
+ if ( LIKELY(zero_of_char_index >= 0)
+ && ELEMENT_RANGE_MATCHES_INVLIST(zero_of_char_index))
{
- UV range_zero = decimals_array[range_zero_index];
+ UV zero_of_char = decimals_array[zero_of_char_index];
if (SEEN_A_DIGIT) {
- if (zero_of_run != range_zero) {
+ if (zero_of_run != zero_of_char) {
retval = FALSE;
break;
}
}
else {
- zero_of_run = range_zero;
+ zero_of_run = zero_of_char;
}
}
}