summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2010-02-21 22:26:15 -0600
committerCraig A. Berry <craigberry@mac.com>2010-02-21 22:26:15 -0600
commitd3b0eb15c61147a3b84af3a8353cdd6f627bdd48 (patch)
tree993ec9102eb520ac08d5e7311b419cd5ef7139e7 /regcomp.c
parent3778d1b0a501c83cfa3003b5667224e2cd76288c (diff)
downloadperl-d3b0eb15c61147a3b84af3a8353cdd6f627bdd48.tar.gz
Don't multiply define Perl_regcurly in core and the re extension.
Broken in ff3f963aa0f95ea53996b6a3842b824504b57c79.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index b5c685ccac..56d7e55440 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8887,6 +8887,7 @@ S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val,
/*
- regcurly - a little FSA that accepts {\d+,?\d*}
*/
+#ifndef PERL_IN_XSUB_RE
I32
Perl_regcurly(register const char *s)
{
@@ -8906,7 +8907,7 @@ Perl_regcurly(register const char *s)
return FALSE;
return TRUE;
}
-
+#endif
/*
- regdump - dump a regexp onto Perl_debug_log in vaguely comprehensible form