bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Character error not reported


From: Hans Åberg
Subject: Character error not reported
Date: Mon, 17 Jun 2019 15:12:53 +0200

When a byte with high bit set that is not used in the grammar, the parser 
generated by Bison 3.4.1, does not report an error, only if the high bit is not 
set. This occurs if one sets a Flex default rule
  . { return yytext[0]; }
and the lexer finds a stray UTF-8 byte.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]