Skip to content

Commit 4c15e29

Browse files
committed
_generic_GET_BREAK_VAL_UTF8: Use utf8_to-uv_or_die not utf8_to_uvchr_buf
1 parent c469b4e commit 4c15e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ S_get_break_val_cp_checked(SV* const invlist, const UV cp_in) {
22142214
#define _generic_GET_BREAK_VAL_UTF8(cp_macro, pos, strend) \
22152215
(__ASSERT_(pos < strend) \
22162216
/* Note assumes is valid UTF-8 */ \
2217-
(cp_macro(utf8_to_uvchr_buf((pos), (strend), NULL))))
2217+
(cp_macro(utf8_to_uv_or_die((pos), (strend), NULL))))
22182218

22192219
/* Returns the GCB value for the input code point */
22202220
#define getGCB_VAL_CP(cp) \

0 commit comments

Comments
 (0)