diff options
author | Karl Williamson <khw@cpan.org> | 2016-12-14 13:00:45 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-12-23 22:36:33 -0700 |
commit | d4f48b064914f271411fb517d698b2d59bbbb6e3 (patch) | |
tree | ce21b96e41ae3e85a90d226dc08c46c9aee07c7a /regcomp.c | |
parent | 71a0317b30064fe6979f8616f6d11553b35de971 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |