source@mandoc.bsd.lv
 help / color / Atom feed
* mandoc: bugfix: .Tg must be ignored completely in these output modes
@ 2020-02-20  0:29 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-02-20  0:29 UTC (permalink / raw)
  To: source

Log Message:
-----------
bugfix: .Tg must be ignored completely in these output modes

Modified Files:
--------------
    mandoc:
        mdoc_man.c
        mdoc_markdown.c

Revision Data
-------------
Index: mdoc_markdown.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_markdown.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -Lmdoc_markdown.c -Lmdoc_markdown.c -u -p -r1.32 -r1.33
--- mdoc_markdown.c
+++ mdoc_markdown.c
@@ -226,7 +226,7 @@ static	const struct md_act md_acts[MDOC_
 	{ NULL, NULL, md_post_pc, NULL, NULL }, /* %Q */
 	{ NULL, md_pre_Lk, md_post_pc, NULL, NULL }, /* %U */
 	{ NULL, NULL, NULL, NULL, NULL }, /* Ta */
-	{ NULL, NULL, NULL, NULL, NULL }, /* Tg */
+	{ NULL, md_pre_skip, NULL, NULL, NULL }, /* Tg */
 };
 static const struct md_act *md_act(enum roff_tok);
 
Index: mdoc_man.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_man.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.133 -r1.134
--- mdoc_man.c
+++ mdoc_man.c
@@ -262,7 +262,7 @@ static const struct mdoc_man_act mdoc_ma
 	{ NULL, NULL, post_percent, NULL, NULL }, /* %Q */
 	{ NULL, NULL, post_percent, NULL, NULL }, /* %U */
 	{ NULL, NULL, NULL, NULL, NULL }, /* Ta */
-	{ NULL, NULL, NULL, NULL, NULL }, /* Tg */
+	{ NULL, pre_skip, NULL, NULL, NULL }, /* Tg */
 };
 static const struct mdoc_man_act *mdoc_man_act(enum roff_tok);
 
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

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

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20  0:29 mandoc: bugfix: .Tg must be ignored completely in these output modes schwarze

source@mandoc.bsd.lv

Archives are clonable: git clone --mirror http://inbox.vuxu.org/mandoc-source

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.source


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git