projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
supported platforms mixed up
[p5sagit/p5-mst-13.2.git]
/
regcomp.c
diff --git
a/regcomp.c
b/regcomp.c
index
13fa36c
..
c0425b7
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-1732,7
+1732,9
@@
S_reg(pTHX_ I32 paren, I32 *flagp)
*flagp = TRYAGAIN;
return NULL;
case 'p':
- Perl_warner(aTHX_ WARN_REGEXP, "(?p{}) is deprecated - use (??{})");
+ if (SIZE_ONLY)
+ Perl_warner(aTHX_ WARN_REGEXP,
+ "(?p{}) is deprecated - use (??{})");
/* FALL THROUGH*/
case '?':
logical = 1;