diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-05-04 22:18:42 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-05-04 22:18:42 +0000 |
commit | f06b58485d86282d0dbf47ffb2a797860a8346a7 (patch) | |
tree | 07c4e5c03fed4ea4d26bc3992145d69cc6e14b04 /op.c | |
parent | a78e478ad711fa7fa8f46adc6709dd5ab38118c6 (diff) | |
download | perl-f06b58485d86282d0dbf47ffb2a797860a8346a7.tar.gz |
move some more variables into the PL_parser struct:
PL_bufptr PL_oldbufptr PL_oldoldbufptr
PL_linestart PL_bufend
PL_last_uni PL_last_lop PL_last_lop_op
p4raw-id: //depot/perl@31147
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2260,10 +2260,11 @@ Perl_localize(pTHX_ OP *o, I32 lex) NOOP; #endif else { - if ( PL_bufptr > PL_oldbufptr && PL_bufptr[-1] == ',' + if ( PL_parser->bufptr > PL_parser->oldbufptr + && PL_parser->bufptr[-1] == ',' && ckWARN(WARN_PARENTHESIS)) { - char *s = PL_bufptr; + char *s = PL_parser->bufptr; bool sigil = FALSE; /* some heuristics to detect a potential error */ |