This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Use macro instead of Perl_invlist_search()
[perl5.git] / regexec.c
index ba52ae9..45084be 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -2085,7 +2085,7 @@ STMT_START {
 #ifdef DEBUGGING
 static IV
 S_get_break_val_cp_checked(SV* const invlist, const UV cp_in) {
-  IV cp_out = Perl__invlist_search(invlist, cp_in);
+  IV cp_out = _invlist_search(invlist, cp_in);
   assert(cp_out >= 0);
   return cp_out;
 }