source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: `Ta' scope-checks need to be more specific (until implicit `It'
@ 2010-05-31 11:52 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-05-31 11:52 UTC (permalink / raw)
  To: source

Log Message:
-----------
`Ta' scope-checks need to be more specific (until implicit `It' handling
comes into play).

Modified Files:
--------------
    mdocml:
        mdoc_macro.c

Revision Data
-------------
Index: mdoc_macro.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_macro.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -Lmdoc_macro.c -Lmdoc_macro.c -u -p -r1.75 -r1.76
--- mdoc_macro.c
+++ 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);
 	}
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-31 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31 11:52 mdocml: `Ta' scope-checks need to be more specific (until implicit `It' kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).