summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 10:28:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 10:28:04 +0000
commit792720a705b86669c5d8a25a3250aa5619d8e1b1 (patch)
treef6265174a03a4dbecc183b23bc4730289cac99f8 /mdoc_html.c
parentd00957f73a7baeeb808b27bb30f59463de6e147d (diff)
downloadmandoc-792720a705b86669c5d8a25a3250aa5619d8e1b1.tar.gz
Remove enum mdocargerr from phrase() (unused).
Add `Ta' macro, which is basically a NULL case everywhere but in mdoc_macro.c, where it closes out an existing `It' body scope and opens a new one, then continues parsing as in phrase() (TODO: merge these two?). Fix where scope-breaking was silently just dying instead of printing an error. Fix where trailing `Ta' or tab weren't creating a new MDOC_BODY context. We now support arbitrarily complex `It' contents for `Bl -column'.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index c80d3c73..686c408a 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -255,6 +255,7 @@ static const struct htmlmdoc mdocs[MDOC_MAX] = {
{mdoc_sp_pre, NULL}, /* br */
{mdoc_sp_pre, NULL}, /* sp */
{mdoc__x_pre, mdoc__x_post}, /* %U */
+ {NULL, NULL}, /* Ta */
};