[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180510163456.GC30442@bombadil.infradead.org>
Date: Thu, 10 May 2018 09:34:56 -0700
From: Matthew Wilcox <willy@...radead.org>
To: Mauro Carvalho Chehab <mchehab+samsung@...nel.org>
Cc: Jonathan Corbet <corbet@....net>,
Mauro Carvalho Chehab <mchehab@...radead.org>,
Christoph Hellwig <hch@...radead.org>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [RFC PATCH 1/2] scripts/kernel-doc: Auto-detect common
code-blocks
On Thu, May 10, 2018 at 10:38:16AM -0400, Mauro Carvalho Chehab wrote:
> Comments that end with a comma and have certain keywords
> should be presented as code-blocks
I think this is a bit fragile. Why not just search for ':\n'? Is
there ever a case where we want to write:
/**
* foo is a bar:
* wibble
*/
and have wibble not be a code-block?
Powered by blists - more mailing lists