This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #130567] Assertion failure in scan_const
authorKarl Williamson <khw@cpan.org>
Thu, 26 Jan 2017 05:34:48 +0000 (22:34 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 26 Jan 2017 05:41:19 +0000 (22:41 -0700)
commit90b58c702e376ab45f13a7f10e14d8c786d05d8a
treef53e02347389d99de0b6aecea1bbcc7d3cd77ce7
parent7f974d7e9e13f5929bc0cfa52101160692c2d394
PATCH: [perl #130567] Assertion failure in scan_const

It turns out that eval text isn't necessarily parsed by
lex_next_chunk(), but is by lex_start().  So, add a test to there to
look for malformed UTF-8.
toke.c