This is the mail archive of the gcc-patches@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: cpplib: get -traditional correct outside directives


Horst von Brand wrote:

> Neil Booth <NeilB@earthling.net> said:
> > Neil Booth wrote:-
> > > This patch gets -traditional correct outside directives, by continuing
> > > to parse identifiers or numbers interrupted by a comment.
>
> > for the new lexer, I should add.
>
> You mean this/**/or/**/that is _one_ identifier? Sounds broken to me...

*after* the -traditional (not ANSI) preprocessor is finished . Try it with an
old K&R compiler if you have one.

Dave


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