This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
signature sub (\x80 triggered an assertion
authorDavid Mitchell <davem@iabyn.com>
Mon, 30 Jan 2017 12:25:55 +0000 (12:25 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 30 Jan 2017 12:30:30 +0000 (12:30 +0000)
commitcbf40e71df30fba4761230a8b62a34d7bb247495
treea3be483eaa829f43a69393ad5b0dd1f075a396e0
parent00c7fba717c4212ca81ed1a46acf38ed3685c27c
signature sub (\x80 triggered an assertion

RT #130661

In the presence of 'use feature "signatures"', a char >= 0x80 where a sigil
was expected triggered an assert failure, because the (signed) character
was being was being promoted to int and ended up getting returned from
yylex() as a negative value.
t/op/signatures.t
toke.c