This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: get -traditional correct outside directives
- To: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Subject: Re: cpplib: get -traditional correct outside directives
- From: Dave Brolley <brolley at redhat dot com>
- Date: Mon, 15 May 2000 11:38:26 -0400
- CC: Neil Booth <NeilB at earthling dot net>, gcc-patches at gcc dot gnu dot org, Zack Weinberg <zack at wolery dot cumb dot org>
- Organization: Red Hat
- References: <200005151524.e4FFOkA24971@pincoya.inf.utfsm.cl>
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