This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #126443] make sure PL_oldbufptr is preserved in scan_heredoc()
authorTony Cook <tony@develop-help.com>
Tue, 24 Nov 2015 03:52:31 +0000 (14:52 +1100)
committerTony Cook <tony@develop-help.com>
Tue, 24 Nov 2015 03:52:31 +0000 (14:52 +1100)
commitd3b9036e206e03f8b788b7eecad735d30f355745
treeb042cf429e2be4c58bf3c3976b2dfbeec064340c
parente8c18a8486f7e900511cc2df8d2617ceab9ce437
[perl #126443] make sure PL_oldbufptr is preserved in scan_heredoc()

This is later used to update PL_oldoldbufptr, if the token following
the <<FOO is unexpected this causes S_no_op() to access an invalid
*PL_oldoldbufptr.
t/op/heredoc.t
toke.c