fix sign extension bug

Submitted by: Nikolai Saoukh <nms@ethereal.ru>
This commit is contained in:
Andrey A. Chernov 1999-04-01 10:22:48 +00:00
parent 9a40134f8d
commit f5d59814ac

View file

@ -53,7 +53,7 @@ XDIGIT [0-9a-fA-F]
W [\t\n\r ]
%%
\'.\' { yylval.rune = yytext[1];
\'.\' { yylval.rune = (unsigned char)yytext[1];
return(RUNE); }
'\\a' { yylval.rune = '\a';