ccanlint: keep mapping back to original source line for doc_extract
[ccan] / tools / doc_extract.h
index 5dca49bac8e7e5956bc975f756b82e9ec3fb926d..24d076c929ea967d80fef193c12c00639c6b9fbf 100644 (file)
@@ -7,6 +7,8 @@ struct doc_section {
        struct list_node list;
        const char *function;
        const char *type;
+       /* Where did I come from? */
+       unsigned int srcline;
        unsigned int num_lines;
        char **lines;
 };