summaryrefslogtreecommitdiffstats
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
commit3f8e564abc73c1abd2c1286b5e767b2b101aae57 (patch)
treeaebccb1b6107a9e62ad1dac4da8dd4c414557473 /mdoc_markdown.c
parent15bf890a36f565c8fdfdcc05f8aea480a1026b98 (diff)
downloadmandoc-3f8e564abc73c1abd2c1286b5e767b2b101aae57.tar.gz
move .ll to the roff modules
Diffstat (limited to 'mdoc_markdown.c')
-rw-r--r--mdoc_markdown.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mdoc_markdown.c b/mdoc_markdown.c
index 9d45b771..abb97836 100644
--- a/mdoc_markdown.c
+++ b/mdoc_markdown.c
@@ -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);