summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-11-10 22:15:28 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-11 04:14:57 -0800
commit166f1209c39e32006f326cf4b701052474addea9 (patch)
treeec2099406a8cd43711d04f382d6dd178043a9765 /perly.y
parente530fb81d2aeb545dabbbfc0d8d6b7a364c94826 (diff)
downloadperl-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.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/perly.y b/perly.y
index b8de63b0c8..bf51922145 100644
--- a/perly.y
+++ b/perly.y
@@ -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
{