diff options
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.c b/parse.c index a1a68d8..22e7edf 100644 --- a/parse.c +++ b/parse.c @@ -1,4 +1,5 @@ #include "parse.h" +#include "err.h" int parse_doc(enum doc_type type, struct doc *d, const buf_t *b) { switch (type) { @@ -14,6 +15,7 @@ int parse_doc(enum doc_type type, struct doc *d, const buf_t *b) { } goto ok; default: + perr("unsupported doctype"); goto err; } ok: |