This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: C preprocessor failure
Dave Brolley wrote:
>
> Right -- K&R preprocessing was text based and, in my experience, did not
> warn about tokenization errors within a FALSE conditional block. I think
> that gcc should behave this way in -traditional mode. For ANSI mode,
> however, this is a valid warning since, according to the phases of
> translation, tokenization takes place before directives are interpreted.
OK, but then what's the rationale for treating the first escaped quote
like an unescaped one and trying to match it?
Henry