Skip to content

Commit

Permalink
Patch suggested by Craig Berry for RT 131337.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeenan committed Jun 3, 2017
1 parent bb5b17c commit 66c5e3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions regexec.c
Expand Up @@ -9750,6 +9750,8 @@ S_to_byte_substr(pTHX_ regexp *prog)
return TRUE;
}

#ifndef PERL_IN_XSUB_RE

bool
Perl__is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 * strend, const UV cp)
{
Expand Down Expand Up @@ -9805,6 +9807,7 @@ Perl__is_grapheme(pTHX_ const U8 * strbeg, const U8 * s, const U8 * strend, cons
return isGCB(cp_gcb_val, next_cp_gcb_val, strbeg, s, TRUE);
}

#endif



Expand Down

0 comments on commit 66c5e3f

Please sign in to comment.