From 86047db23506d12393719c79039d2dcfa314ffc9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 31 May 2010 11:52:06 +0000 Subject: `Ta' scope-checks need to be more specific (until implicit `It' handling comes into play). --- mdoc_macro.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mdoc_macro.c b/mdoc_macro.c index 20be5acb..008efdd0 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -1702,7 +1702,10 @@ phrase_ta(MACRO_PROT_ARGS) */ if (NULL == m->last || MDOC_BODY != m->last->type || - MDOC_It != m->last->tok) { + 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); } -- cgit