- Commit
- 3b8023db4fb2f11ee9c0f61a3d92ab5c40aaad6d
- Parent
- 8403ff2798a60a7d9df73a1129a5bc125c378a36
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Give warning on unknown inline type.
My personal build of CMark ✏️
Give warning on unknown inline type.
1 file changed, 2 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 2 | 2 | 0 |
diff --git a/src/inlines.c b/src/inlines.c @@ -9,6 +9,7 @@ #include "utf8.h" #include "scanners.h" #include "inlines.h" +#include "debug.h" typedef struct InlineStack { struct InlineStack *previous; @@ -164,6 +165,7 @@ extern void free_inlines(node_inl* e) splice_into_list(e, e->content.inlines); break; default: + log_warn("Unknown inline tag %d", e->tag); break; } next = e->next;