This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR preprocessor/19475
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: jsm at polyomino dot org dot uk, gcc-patches at gcc dot gnu dot org, gcc-bugzilla at gcc dot gnu dot org
- Date: Tue, 5 Apr 2005 12:53:24 -0400
- Subject: Re: [PATCH] Fix PR preprocessor/19475
- References: <20050405101742.GP17420@devserv.devel.redhat.com> <873bu5f9tc.fsf@codesourcery.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Apr 05, 2005 at 09:49:19AM -0700, Zack Weinberg wrote:
> > This patch fixes PR preprocessor/19475 by issuing just warning, not pedwarn,
> > for < ISO C99 if there is no whitespace between macro definition and
> > replacement, but replacement starts with a basic character set character.
> > Ok to commit?
>
> OK except please remove the <?, >?, <?=, >?= testcases as those tokens
> are probably going to be removed in the near future.
I know, but that IMHO shouldn't matter for the testcase.
#define a<?
should be still treated like
#define a <?
in C90 (with a warning), no matter whether <? is a cpp token or 2 tokens.
Jakub