From: Johannes Berg <johannes@sipsolutions.net>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: kernel-doc problem
Date: Thu, 19 Aug 2010 17:37:01 +0200 [thread overview]
Message-ID: <1282232221.4507.12.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <20100819083028.6509ab3e.rdunlap@xenotime.net>
On Thu, 2010-08-19 at 08:30 -0700, Randy Dunlap wrote:
> > --- here's the file ---
> > /**
> > * fn - test
> > *
> > * @a: This is just a non-sense and totally useless dummy function
> > * argument: it has absolutely no effect.
> > */
> > void fn(int a)
> > {
> > }
>
> Colons (':') are bad. They cause a section instance.
Yeah, that's what I found.
> I don't know how to fix it (inside kernel-doc or docproc or xmlto or wherever).
> Sometimes I change colon to "--" or "." or something that makes some sense,
> but colon is still the better choice if it would work.
Ok.
Actually, I can think of something. When we have a line that starts with
this kind of pattern, assume that the next line is a continuation of it
and do not pattern match it, unless there was a blank line. I guess that
needs a special case for @...: though.
johannes
prev parent reply other threads:[~2010-08-19 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 13:20 Johannes Berg
2010-08-19 15:30 ` Randy Dunlap
2010-08-19 15:37 ` Johannes Berg [this message]
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=1282232221.4507.12.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.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
all inboxes | Powered by JetHome®