This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add PL_parser->lex_shared struct; move herelines into it
authorFather Chrysostomos <sprout@cpan.org>
Mon, 27 Aug 2012 16:18:29 +0000 (09:18 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 28 Aug 2012 06:24:01 +0000 (23:24 -0700)
commitd794b5224fb01fd9fb94ed555497ebfea2aa1c96
treed1e802f70aa768b349b3b62214332fe11f235a2f
parent4dc843bcb987cdd0350fd58f9ea65fb4f26f2283
Add PL_parser->lex_shared struct; move herelines into it

PL_parser->herelines needs to be visible to inner lexing scopes, which
also need to have their own copy of it, so that the here-doc parser
can modify the right herelines variable corresponding to the
PL_linestr from which it is stealing its body.  (A subsequent commit
will take take of that.)
parser.h
toke.c