source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Parse and ignore .IX (generate index entry) macros because
@ 2015-01-16 16:54 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-01-16 16:54 UTC (permalink / raw)
  To: source

Log Message:
-----------
Parse and ignore .IX (generate index entry) macros because pod2man(1)
emits them, by default without defining them, relying on the roff(7)
quirk that undefined macros have no effect.

Modified Files:
--------------
    mdocml:
        roff.c

Revision Data
-------------
Index: roff.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/roff.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -Lroff.c -Lroff.c -u -p -r1.249 -r1.250
--- roff.c
+++ roff.c
@@ -75,6 +75,7 @@ enum	rofft {
 	ROFF_T_,
 	ROFF_EQ,
 	ROFF_EN,
+	ROFF_IX,
 	ROFF_cblock,
 	ROFF_USERDEF,
 	ROFF_MAX
@@ -274,6 +275,7 @@ static	struct roffmac	 roffs[ROFF_MAX] =
 	{ "T&", roff_T_, NULL, NULL, 0, NULL },
 	{ "EQ", roff_EQ, NULL, NULL, 0, NULL },
 	{ "EN", roff_EN, NULL, NULL, 0, NULL },
+	{ "IX", roff_line_ignore, NULL, NULL, 0, NULL },
 	{ ".", roff_cblock, NULL, NULL, 0, NULL },
 	{ NULL, roff_userdef, NULL, NULL, 0, NULL },
 };
--
 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:[~2015-01-16 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-16 16:54 mdocml: Parse and ignore .IX (generate index entry) macros because schwarze

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).