lkml.org 
[lkml]   [2018]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH 1/2] scripts/kernel-doc: Auto-detect common code-blocks
    On Thu, 10 May 2018 09:34:56 -0700
    Matthew Wilcox <willy@infradead.org> wrote:

    > 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?

    Yeah, we might want to write something like:

    - Leading off a bulleted list

    1) or a numbered list

    for example. That's why I was thinking of looking for explicit markers
    for such lists.

    It'll take some playing around with to have a hope of getting right,
    methinks.

    jon

    \
     
     \ /
      Last update: 2018-05-10 18:51    [W:3.077 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site