summaryrefslogtreecommitdiff
path: root/src/blocks.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-11 08:46:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-11 08:46:42 -0700
commitdb892350447a6ffd83d22bedfe056ab1a90da547 (patch)
tree0013bde6006f88f1d28beb3c9557c8aa35fba670 /src/blocks.c
parent2bb51691fa389ead76f6531a677397f6c24f75f5 (diff)
Removed dependence on debug.h.
(It uses GNU extensions, and we don't need it anyway.)
Diffstat (limited to 'src/blocks.c')
-rw-r--r--src/blocks.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/blocks.c b/src/blocks.c
index 61672ae..002f9ad 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -13,7 +13,6 @@
#include "inlines.h"
#include "houdini.h"
#include "buffer.h"
-#include "debug.h"
#define CODE_INDENT 4
#define TAB_STOP 4
@@ -737,7 +736,10 @@ S_process_line(cmark_parser *parser, const unsigned char *buffer, bufsize_t byte
}
break;
default:
- log_err("Unknown HTML block type %d", container->as.html_block_type);
+ fprintf(stderr,
+ "Error (%s:%d): Unknown HTML block type %d\n",
+ __FILE__, __LINE__,
+ container->as.html_block_type);
exit(1);
}