This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: expression parser
- To: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Subject: Re: cpplib: expression parser
- From: Neil Booth <NeilB at earthling dot net>
- Date: Sat, 1 Apr 2000 11:13:05 +0900
- Cc: Zack Weinberg <zack at wolery dot cumb dot org>, gcc-patches at gcc dot gnu dot org, Jonathan Larmour <jlarmour at redhat dot co dot uk>
- References: <zack@wolery.cumb.org> <200004010057.e310vJR01615@sleipnir.valparaiso.cl>
Horst von Brand wrote:-
> > > o "#if 1 + + + 1" was accepted.
>
> What is wrong with that? It should be taken as:
>
> 1 + (+(+1))
>
> (Unary '+'s), or am I totally lost here?
Hmmm, on second thoughts I'm inclined to agree with you. Zack?
Should I remove this test? If so, I'll take it out with patch 3.
Neil.