This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
074b1c5
)
toke.c:scan_heredoc: Remove unnecessary assignment
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 30 Aug 2012 03:39:55 +0000
(20:39 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 31 Aug 2012 01:18:10 +0000
(18:18 -0700)
Updating PL_bufend after lex_next_chunk is not necessary, as
lex_next_chunk itself does it.
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
8ac754e
..
24c532f
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-9773,7
+9773,6
@@
S_scan_heredoc(pTHX_ register char *s)
stuffstart = s - SvPVX(PL_linestr);
#endif
shared->herelines++;
- PL_bufend = SvPVX(PL_linestr) + SvCUR(PL_linestr);
PL_last_lop = PL_last_uni = NULL;
#ifndef PERL_STRICT_CR
if (PL_bufend - PL_linestart >= 2) {