From f22b66da0258379d04113f6564ae359cd683d68e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 31 May 2010 22:39:55 +0000 Subject: Remove now-superfluous check on `Ta' context. --- mdoc_macro.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/mdoc_macro.c b/mdoc_macro.c index f3890f84..52024375 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_macro.c,v 1.77 2010/05/31 15:42:09 kristaps Exp $ */ +/* $Id: mdoc_macro.c,v 1.78 2010/05/31 22:39:55 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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); -- cgit v1.2.3-56-ge451