This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123802] Assertion failure with "\L\L"
authorFather Chrysostomos <sprout@cpan.org>
Sun, 1 Mar 2015 19:29:10 +0000 (11:29 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 1 Mar 2015 19:29:42 +0000 (11:29 -0800)
commit66edcf79f81d47833f2be442966a5e90a223365f
treee9c63c952f8ca1431b8f9d2d01a5fa1698e742e8
parentde72f77898e4b8ed920f56af11895c098e8e44f7
[perl #123802] Assertion failure with "\L\L"

This is a follow-up to f4460c6f7a.  The check to see whether we are
in a quote-like operator needs to come before the call to sublex_done,
as sublex_done is just as problematic as doing SvIVX on a PV.  (See
479ae48e22f for details on why.)  Checking the type of PL_linestr is
not a reliable way to see whether we are in a quote-like op, so use
PL_in_what instead.
t/op/lex.t
toke.c