X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fdoc_extract-core.c;h=7788fd0766fe871df70651006c3b2a2d24019dc6;hb=10e5e329a1a8804ff6461e1724071364cf6be572;hp=74643a04b994b61487f63cf7ba9786b37622d238;hpb=a64257be339a8485f66ca9bafd6be7077aa873cd;p=ccan diff --git a/tools/doc_extract-core.c b/tools/doc_extract-core.c index 74643a04..7788fd07 100644 --- a/tools/doc_extract-core.c +++ b/tools/doc_extract-core.c @@ -71,7 +71,8 @@ static unsigned int is_summary_line(const char *line) { unsigned int id_len; - id_len = strspn(line, IDENT_CHARS" "); + /* We allow /, because it can be in (nested) module names. */ + id_len = strspn(line, IDENT_CHARS" /"); if (id_len == 0) return 0; if (strspn(line, " ") == id_len)