From: Rusty Russell Date: Wed, 6 Oct 2010 14:25:14 +0000 (+1030) Subject: tools: "See Also:" can be a section in documentation, so allow it. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=15a9d29cedeb5a9b838162b40ad18fecca681dca tools: "See Also:" can be a section in documentation, so allow it. --- diff --git a/tools/doc_extract-core.c b/tools/doc_extract-core.c index f3666e59..829d3477 100644 --- a/tools/doc_extract-core.c +++ b/tools/doc_extract-core.c @@ -54,7 +54,7 @@ static bool is_section(const char *line, bool one_liner) if (!isupper(line[0])) return false; - len = strspn(line, IDENT_CHARS); + len = strspn(line, IDENT_CHARS" "); if (line[len] != ':') return false;