This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -traditional comment elimination (yuk...)


Neil Booth wrote:

> I still have a problem to fix with &&, though, since the new lexer
> sees
> 
> #if 1 &/**/& 1
> 
> as containing a single && token.  It should be easily fixable through
> a new TRAD_COMMENT flag for the initial & token, or suchlike, which
> would be treated as a whitespace separator without actually outputting
> whitespace.

Well, if the old cccp saw it as one token, as you said, then I
don't see why you have to fix it now.

Dave

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]