public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jamie Lokier <egcs@tantalophile.demon.co.uk>
To: Neil Booth <NeilB@earthling.net>
Cc: Jan Dvorak <johnydog@go.cz>,
	Craig Rodrigues <rodrigc@mediaone.net>,
	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	[thread overview]
Message-ID: <20000920175206.A31338@pcep-jamie.cern.ch> (raw)
In-Reply-To: <20000919214320.A30677@daikokuya.demon.co.uk>

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

  parent reply	other threads:[~2000-09-20  8:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-17 15:53 Craig Rodrigues
2000-09-17 16:12 ` Jan Dvorak
2000-09-17 16:26 ` Richard Henderson
2000-09-18  3:04   ` Jamie Lokier
2000-09-19  9:05     ` Jan Dvorak
2000-09-19 10:13       ` Jamie Lokier
2000-09-19 11:44         ` Jan Dvorak
     [not found]         ` <20000919214025.A30587@daikokuya.demon.co.uk>
     [not found]           ` <20000919214320.A30677@daikokuya.demon.co.uk>
2000-09-20  8:52             ` Jamie Lokier [this message]
2000-09-20  9:38               ` Neil Booth
2000-09-25 12:52                 ` Jamie Lokier
2000-09-25 14:10                   ` Neil Booth
2000-09-25 14:34                     ` Joern Rennecke
     [not found]                   ` <20000925222224.B24101@daikokuya.demon.co.uk>
     [not found]                     ` <20000926001457.A12405@daikokuya.demon.co.uk>
2000-09-26 10:15                       ` Varargs macros subtly broken Jamie Lokier
     [not found] <20000925230543.A28863@daikokuya.demon.co.uk>
2000-09-25 15:18 ` warning: multi-line comment (why?) Joern Rennecke
2000-09-25 15:53   ` Neil Booth
2000-09-25 16:39     ` Joern Rennecke
2000-09-26  3:43     ` Jamie Lokier
2000-09-26 10:13       ` Neil Booth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000920175206.A31338@pcep-jamie.cern.ch \
    --to=egcs@tantalophile.demon.co.uk \
    --cc=NeilB@earthling.net \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    --cc=johnydog@go.cz \
    --cc=rodrigc@mediaone.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).