tradtradcpp0, cpp spec bugs, and use of '|'

Zack Weinberg zackw@Stanford.EDU
Mon Nov 20 15:47:00 GMT 2000


On Mon, Nov 20, 2000 at 02:54:15PM -0800, Chris G. Demetriou wrote:
> Neil Booth <neilb@earthling.net> writes:
> > > This would seem to be an issue with the use of '|' in the
> > > trad_capable_cpp spec:
> > > 
> > > 	%{traditional|ftraditional|traditional-cpp:trad}cpp0
> > > 
> > > from reading the documentation and code, '|' in this case doesn't mean
> > > "one or the other" it means "for each of those specified, output the
> > > bits after the colon."  meaning, one of those flags -> trad.  2 ->
> > > tradtrad.  3-> tradtradtrad.
> > >
> > > I don't know if there's an easy way to fix this one at all...
> > 
> > I can't see an easy way; in fact I doubt there is.  Do you have any
> > ideas, Zack?  These specs get uglier as time goes by...
> 
> Well, one thing that cmes to mind is, of course "add a way to say 'or'
> that really means 'or'".

I think that's the only practical answer.

zw


More information about the Gcc-bugs mailing list