summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-03 02:19:50 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-03 02:19:50 +0000
commit14455d6cc193f1e4316f87b9dbe258db24ceb714 (patch)
tree0722cfd9590d6e717d6a7f06bbb534593146dee6 /toke.c
parent36f31b5005f0d5567cbdeeea5b6180abf2936b23 (diff)
downloadperl-14455d6cc193f1e4316f87b9dbe258db24ceb714.tar.gz
/(?p{})/ changed to /(??{})/, per Larry's suggestion (from
Simon Cozens <simon@othersideofthe.earth.li>) p4raw-id: //depot/perl@5467
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index e18a4c8df8..3af0896349 100644
--- a/toke.c
+++ b/toke.c
@@ -1270,7 +1270,7 @@ S_scan_const(pTHX_ char *start)
while (s < send && *s != ')')
*d++ = *s++;
} else if (s[2] == '{'
- || s[2] == 'p' && s[3] == '{') { /* This should march regcomp.c */
+ || s[2] == '?' && s[3] == '{') { /* This should march regcomp.c */
I32 count = 1;
char *regparse = s + (s[2] == '{' ? 3 : 4);
char c;