From 8226468b168b4b2be530e10a303a739cb401271f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 11 Nov 2014 06:49:35 -0800 Subject: Don't include debug.h in any production code. It uses some GNU-specific things. --- src/inlines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index 364f117..71e577b 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -9,7 +9,6 @@ #include "utf8.h" #include "scanners.h" #include "inlines.h" -#include "debug.h" typedef struct DelimiterStack { @@ -155,7 +154,8 @@ extern void free_inlines(node_inl* e) splice_into_list(e, e->content.inlines); break; default: - log_warn("Unknown inline tag %d", e->tag); + fprintf(stderr, "[WARN] (%s:%d) Unknown inline tag %d", + __FILE__, __LINE__, e->tag); break; } next = e->next; -- cgit v1.2.3