tools: don't abort on malformed documentation lines.
[ccan] / tools / ccanlint / file_analysis.c
index 575425df79e0c10ef993ae7f92747e70f3d8bdaf..852ecbfce851c31d85078d4a21d3e7657dcc6e8d 100644 (file)
@@ -27,7 +27,7 @@ struct list_head *get_ccan_file_docs(struct ccan_file *f)
 {
        if (!f->doc_sections) {
                get_ccan_file_lines(f);
-               f->doc_sections = extract_doc_sections(f->lines);
+               f->doc_sections = extract_doc_sections(f->lines, f->name);
        }
        return f->doc_sections;
 }