]> git.ozlabs.org Git - ccan/blobdiff - tools/doc_extract-core.c
tal/str: accept take() for arguments.
[ccan] / tools / doc_extract-core.c
index 74643a04b994b61487f63cf7ba9786b37622d238..7788fd0766fe871df70651006c3b2a2d24019dc6 100644 (file)
@@ -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)