summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 22:39:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 22:39:55 +0000
commitb47971fa5375cbb458a5b38a85f447114b420efd (patch)
tree3fb2bdd0d1404326a2a5611e2799c6a690aa9a21
parente11c652985a4e684164e30aa5841f0801f4e95f0 (diff)
downloadmandoc-b47971fa5375cbb458a5b38a85f447114b420efd.tar.gz
Remove now-superfluous check on `Ta' context.
-rw-r--r--mdoc_macro.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index f9a6f7a1..6e42c3f6 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1700,26 +1700,6 @@ phrase_ta(MACRO_PROT_ARGS)
n = m->last;
if ( ! rew_sub(MDOC_BODY, m, MDOC_It, line, ppos))
return(0);
-
- /*
- * FIXME: this is necessary in bogus constructions like
- * .Bl -column foo bar
- * .Sy foo Ta bar
- * It is, however, an ugly way to do it.
- *
- * XXX; remove this when the above construct builds an implied
- * `It' marker.
- */
- if (NULL == m->last ||
- MDOC_BODY != m->last->type ||
- MDOC_It != m->last->tok ||
- NULL == m->last->parent->parent ||
- MDOC_Bl != m->last->parent->parent->tok ||
- LIST_column != m->last->parent->parent->data.list) {
- swarn(m, tok, line, ppos, n);
- return(0);
- }
-
if ( ! mdoc_body_alloc(m, line, ppos, MDOC_It))
return(0);