warning: multi-line comment (why?)
Jamie Lokier
egcs@tantalophile.demon.co.uk
Wed Sep 20 08:52:00 GMT 2000
The motivation is for when you do "comment-region" in Emacs to comment
out code that includes macros.
Neil Booth wrote:
> > Regardless, just glancing at it, you've broken silently ignoring nulls
> > in comments. You've also broken backslash and trigraph-escaped
> > newlines, I think. I want those fixed, cleanly, and testcases at
> > least.
>
> Sorry, ignore that about newlines, I meant slashes and I don't think
> I'm right.
Hmm. The nulls which warn are part of the multi-line comment. Fair
enough, I'll fix that and get the correct column numbers too.
Trigraph-escaped slashes aren't checked for, so you still get the
warning in that case. Do you care?
-- Jamie
More information about the Gcc
mailing list