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 May 22, 2017
1 parent 7c825fc commit 52ad33e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions regexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -9749,6 +9749,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 @@ -9804,6 +9806,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 52ad33e

Please sign in to comment.