summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-12-14 13:00:45 -0700
committerKarl Williamson <khw@cpan.org>2016-12-23 22:36:33 -0700
commitd4f48b064914f271411fb517d698b2d59bbbb6e3 (patch)
treece21b96e41ae3e85a90d226dc08c46c9aee07c7a /regcomp.c
parent71a0317b30064fe6979f8616f6d11553b35de971 (diff)
downloadperl-d4f48b064914f271411fb517d698b2d59bbbb6e3.tar.gz
regcomp.c, mathoms.c: Convert to use preferred macro
Better to use the macro than to directly call the function it wraps
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 7578a25dd0..9f8923f764 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -10047,7 +10047,7 @@ Perl__load_PL_utf8_foldclosures (pTHX)
U8 dummy[UTF8_MAXBYTES_CASE+1];
/* This string is just a short named one above \xff */
- to_utf8_fold((U8*) HYPHEN_UTF8, dummy, NULL);
+ toFOLD_utf8((U8*) HYPHEN_UTF8, dummy, NULL);
assert(PL_utf8_tofold); /* Verify that worked */
}
PL_utf8_foldclosures = _swash_inversion_hash(PL_utf8_tofold);
@@ -10198,7 +10198,7 @@ S__make_exactf_invlist(pTHX_ RExC_state_t *pRExC_state, regnode *node)
}
else {
STRLEN len;
- to_utf8_fold(s, d, &len);
+ toFOLD_utf8(s, d, &len);
d += len;
s += UTF8SKIP(s);
}