diff options
author | David Mitchell <davem@iabyn.com> | 2017-01-30 12:25:55 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2017-01-30 12:30:30 +0000 |
commit | cbf40e71df30fba4761230a8b62a34d7bb247495 (patch) | |
tree | a3be483eaa829f43a69393ad5b0dd1f075a396e0 /toke.c | |
parent | 00c7fba717c4212ca81ed1a46acf38ed3685c27c (diff) | |
download | perl-cbf40e71df30fba4761230a8b62a34d7bb247495.tar.gz |
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.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5037,7 +5037,7 @@ Perl_yylex(pTHX) * as a var; e.g. ($, ...) would be seen as the var '$,' */ - char sigil; + U8 sigil; s = skipspace(s); sigil = *s++; |