[Top][All Lists]

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

Re: yytype_FOO

From: Paul Eggert
Subject: Re: yytype_FOO
Date: Mon, 04 Mar 2013 01:05:09 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

On 03/03/2013 11:51 PM, Akim Demaille wrote:
> I fail to see why one would like to depend
>   on a token number during preprocessing

Unfortunately this sort of thing is more common than
it might appear at first glance.  E.g., people do things
like this:

switch (val)
     case PLUS:
#if PLUS != ADD
     case ADD:
       ... code to handle PLUS and ADD...

Offhand I don't know of any specific examples of stuff
like that, but I wouldn't be surprised if it existed.

reply via email to

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