From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier To: Neil Booth Cc: Jan Dvorak , Craig Rodrigues , gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: warning: multi-line comment (why?) Date: Wed, 20 Sep 2000 08:52:00 -0000 Message-id: <20000920175206.A31338@pcep-jamie.cern.ch> References: <20000917185453.A14829@mediaone.net> <20000917162647.A19521@cygnus.com> <20000918120419.C17692@pcep-jamie.cern.ch> <20000919180308.A7018@napalm.go.cz> <20000919191221.A20462@pcep-jamie.cern.ch> <20000919214025.A30587@daikokuya.demon.co.uk> <20000919214320.A30677@daikokuya.demon.co.uk> X-SW-Source: 2000-09/msg00475.html 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