tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] [PATCH] Preprocessor: ignore everything after #error


From: Dave Dodge
Subject: Re: [Tinycc-devel] [PATCH] Preprocessor: ignore everything after #error or #warning
Date: Wed, 26 Sep 2007 03:52:27 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Sep 26, 2007 at 01:23:32AM -0500, Rob Landley wrote:
> Hmmm...  What about #warning as last line of the file with no newline at the 
> end of the line?

FWIW, the grammar for most preprocessing directives explicitly
includes a newline.  gcc accepts a #warning with no newline but
emits an additional warning about the missing newline.

                                                  -Dave Dodge




reply via email to

[Prev in Thread] Current Thread [Next in Thread]