diff options
author | Zefram <zefram@fysh.org> | 2010-11-10 22:15:28 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-11 04:14:57 -0800 |
commit | 166f1209c39e32006f326cf4b701052474addea9 (patch) | |
tree | ec2099406a8cd43711d04f382d6dd178043a9765 /perly.y | |
parent | e530fb81d2aeb545dabbbfc0d8d6b7a364c94826 (diff) | |
download | perl-166f1209c39e32006f326cf4b701052474addea9.tar.gz |
[perl #78586] Bleadperl eae48c89 breaks TIMB/Devel-NYTProf-4.05.tar.gz
> $ perl -d:Trace <<END
> warn "1";
> {
> warn "3";
> }
> warn "5";
> END
> >> -:1: warn "1";
> 1 at - line 1.
> >> -:5: warn "5"; <== wrong
> >> -:3: warn "3";
> 3 at - line 3.
> >> -:5: warn "5";
> 5 at - line 5.
I believe this is fixed by a one line change (plus `make regen_perly`):
Diffstat (limited to 'perly.y')
-rw-r--r-- | perly.y | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -442,7 +442,6 @@ barestmt: PLUGSTMT /* a block is a loop that happens once */ $$ = newWHILEOP(0, 1, (LOOP*)(OP*)NULL, (OP*)NULL, $1, $2, 0); - PL_parser->copline = NOLINE; } | PACKAGE WORD WORD '{' remember { |