summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-05 13:19:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-05 13:22:38 -0800
commit3b8023db4fb2f11ee9c0f61a3d92ab5c40aaad6d (patch)
tree7c316378689b33c0bb9e2b9de25417dda2e55d53 /src
parent8403ff2798a60a7d9df73a1129a5bc125c378a36 (diff)
Give warning on unknown inline type.
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 0f1a3d3..0bdc829 100644
--- 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;