bug-gnu-utils
[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: Anthony DeRobertis
Subject: Re: RFC: enum instead of #define for tokens
Date: Fri, 5 Apr 2002 05:23:27 -0500

On Friday, April 5, 2002, at 03:32 AM, Akim Demaille wrote:

that's why I have snippets like this
in some of my parsers:

| %token COMMA  ","

I had forgotten about that feature. Thanks for reminding me.

That is a very good alternative to char tokens. Though I don't see what's inherently evil about char tokens, and getting rid of them would break a lot of grammars, methinks.




reply via email to

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