This is the mail archive of the gcc@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: preprocessor bug(?)


Zack Weinberg wrote:-

> On Thu, Nov 07, 2002 at 04:19:31PM -0800, Dale Johannesen wrote:
> > One of our users just did this:
> > 
> > // comment, space character follows the backslash:\
> > main() {
> > }
> > 
> > gcc ignores the space character, which causes the comment to eat the 
> > next line.
> > That's wrong, isn't it?
> 
> No, that's an intentional feature.  From the manual:

We get so many complaints about this I'm starting to wonder if we should
drop it.  Further, it complicates a stages 1 and 2 prescan, should we ever do
that.

Neil.


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