summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-12-17 13:07:34 -0700
committerKarl Williamson <khw@cpan.org>2022-06-12 09:50:10 -0600
commit6eb62d23ae68de0cdc243b0ef1603fc8e4fdf9b5 (patch)
tree8c44bc6704d27b5e01b22e6ce76cef4e8b721a9e /regcomp.c
parentf88fd00517a49a4577607687c0e6e9329498d1f4 (diff)
downloadperl-6eb62d23ae68de0cdc243b0ef1603fc8e4fdf9b5.tar.gz
Change handy.h macro names to be C standard conformant
C reserves symbols beginning with underscores for its own use. This commit moves the underscore so it is trailing, which is legal. The symbols changed here are most of the ones in handy.h that have few uses outside it.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 5dceb29fd4..0f4e1a6e5f 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -18080,7 +18080,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth,
TRUE /* checking only */);
}
else if ( strict && ! skip_white
- && ( _generic_isCC(value, _CC_VERTSPACE)
+ && ( generic_isCC_(value, _CC_VERTSPACE)
|| is_VERTWS_cp_high(value)))
{
vFAIL("Literal vertical space in [] is illegal except under /x");
@@ -22833,7 +22833,7 @@ S_put_range(pTHX_ SV *sv, UV start, const UV end, const bool allow_literals)
/* Find the end of the sub-range that includes just the
* characters in the same class as the first character in it */
- while (temp_end <= end && _generic_isCC_A(temp_end, mask)) {
+ while (temp_end <= end && generic_isCC_A_(temp_end, mask)) {
temp_end++;
}
temp_end--;