summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-14 22:20:27 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-14 22:20:27 +0000
commitd7e9e3857befe7a39725ee224b7fb86bae37b3de (patch)
tree5dc84592e9807d0e37cb45b039d2b357e681fc67 /regcomp.c
parent2fcfac58bcb8925651a43c14e06d78030587e9a3 (diff)
downloadperl-d7e9e3857befe7a39725ee224b7fb86bae37b3de.tar.gz
tweak to use SIZE_ONLY
p4raw-id: //depot/perl@5745
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 05e77ba857..c0425b766d 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -1732,7 +1732,7 @@ S_reg(pTHX_ I32 paren, I32 *flagp)
*flagp = TRYAGAIN;
return NULL;
case 'p':
- if (PL_regcode == &PL_regdummy)
+ if (SIZE_ONLY)
Perl_warner(aTHX_ WARN_REGEXP,
"(?p{}) is deprecated - use (??{})");
/* FALL THROUGH*/