tools: "See Also:" can be a section in documentation, so allow it.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 6 Oct 2010 14:25:14 +0000 (00:55 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 6 Oct 2010 14:25:14 +0000 (00:55 +1030)
tools/doc_extract-core.c

index f3666e59924926aeed86bec1478fad53e1f6eb56..829d34778f4dee7afce10c36d4f8c541d4b60a04 100644 (file)
@@ -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;