aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_markdown.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-05 13:17:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-05 13:17:54 +0000
commit264209da4a75cf323caf3e1a5e89534f15086b73 (patch)
tree48a9e3b0104477eb2934ee5b430c3f5e31d3ecc2 /mdoc_markdown.c
parentecf3d7a66ad4080c5dabd04c50179340b4f39242 (diff)
downloadmandoc-264209da4a75cf323caf3e1a5e89534f15086b73.tar.gz
mandoc-264209da4a75cf323caf3e1a5e89534f15086b73.tar.zst
mandoc-264209da4a75cf323caf3e1a5e89534f15086b73.zip
move .ll to the roff modules
Diffstat (limited to 'mdoc_markdown.c')
-rw-r--r--mdoc_markdown.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mdoc_markdown.c b/mdoc_markdown.c
index 15430c44..3d6a5d66 100644
--- a/mdoc_markdown.c
+++ b/mdoc_markdown.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_markdown.c,v 1.19 2017/05/05 02:06:19 schwarze Exp $ */
+/* $Id: mdoc_markdown.c,v 1.20 2017/05/05 13:17:55 schwarze Exp $ */
/*
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -19,7 +19,6 @@
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include "mandoc_aux.h"
@@ -226,7 +225,6 @@ static const struct md_act __md_acts[MDOC_MAX - MDOC_Dd] = {
{ NULL, md_pre_Pp, NULL, NULL, NULL }, /* sp */
{ NULL, md_pre_Lk, md_post_pc, NULL, NULL }, /* %U */
{ NULL, NULL, NULL, NULL, NULL }, /* Ta */
- { NULL, NULL, NULL, NULL, NULL }, /* ll */
};
static const struct md_act *const md_acts = __md_acts - MDOC_Dd;
@@ -325,11 +323,9 @@ md_node(struct roff_node *n)
case ROFF_br:
process_children = md_pre_br(n);
break;
- case ROFF_ft:
+ default:
process_children = 0;
break;
- default:
- abort();
}
} else {
assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);