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]
Other format: [Raw text]

Re: [PATCH] Fix PR preprocessor/19475


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


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