From 792720a705b86669c5d8a25a3250aa5619d8e1b1 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 31 May 2010 10:28:04 +0000 Subject: 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'. --- mdoc_validate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mdoc_validate.c') diff --git a/mdoc_validate.c b/mdoc_validate.c index 8beae48a..4296cc3c 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -268,6 +268,7 @@ const struct valids mdoc_valids[MDOC_MAX] = { { NULL, posts_notext }, /* br */ { NULL, posts_sp }, /* sp */ { NULL, posts_text1 }, /* %U */ + { NULL, NULL }, /* Ta */ }; -- cgit