Hi all,
>> On 4/1/21 16:28, Stephen Taylor via Users list for the GNU Bison parser
>> generator wrote:
>>> Thanks, that seems to get around \x00 -- unfortunately, the same issue then
>>> reappears with the values \x80 - \xff … I could special case every single
>>> value e.g.
>>> \x00 {return ZE
Thanks John, but the whole point is to try to leverage the internal tables and
mechanisms that exist in Bison …. In particular the yytranslate[] table…. And
to be able to write rules that use *all* the hex codes which flex -8 is
supposed to pass along e.g.
R : ‘\x9f’ ‘\xfe’ | ‘\xff’ | ‘\x00’ ;
Thanks, that seems to get around \x00 -- unfortunately, the same issue then
reappears with the values \x80 - \xff … I could special case every single value
e.g.
\x00 {return ZERO; }
\x80 { return X80; }
\x81 { return X81; }
:
\xff { return XFF; }
. | \n { return *yytext; }
But seems a bit c