help-flex
[Top][All Lists]
Advanced

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

Re: RFC: enum instead of #define for tokens


From: Hans Aberg
Subject: Re: RFC: enum instead of #define for tokens
Date: Mon, 8 Apr 2002 18:22:59 +0200

At 09:59 +0200 2002/04/08, Akim Demaille wrote:
>>>>>> "John" == John W Millaway <address@hidden> writes:
>
>>> I think that Akim would like to prohibit . { return yytext[0]; } at
>>> least for Unicode.
>
>John> Prohibiting that will break a lot of scanners out there,
>John> including the code in the O'Reilly book.
...
>I'm against on having Bison parsers eating Unicode.  People can do
>whatever they want to with their scanners.

If . { return yytext[0]; } should be usable under Unicode, one should at
least ensure that (sporadic) characters cannot have token numbers.

  Hans Aberg





reply via email to

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