projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3778d1b
)
Don't multiply define Perl_regcurly in core and the re extension.
Craig A. Berry [Mon, 22 Feb 2010 04:26:15 +0000 (22:26 -0600)]
Broken in
ff3f963aa0f95ea53996b6a3842b824504b57c79
.
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
b5c685c
..
56d7e55
100644
(file)
--- 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