summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c5
1 files changed, 4 insertions, 1 deletions
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);
}