diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-14 22:20:27 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-14 22:20:27 +0000 |
commit | d7e9e3857befe7a39725ee224b7fb86bae37b3de (patch) | |
tree | 5dc84592e9807d0e37cb45b039d2b357e681fc67 /regcomp.c | |
parent | 2fcfac58bcb8925651a43c14e06d78030587e9a3 (diff) | |
download | perl-d7e9e3857befe7a39725ee224b7fb86bae37b3de.tar.gz |
tweak to use SIZE_ONLY
p4raw-id: //depot/perl@5745
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*/ |