diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-16 16:53:49 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-16 16:53:49 +0000 |
commit | cc7ec05a25c9d24fc87089bd37a6aa1fd17568eb (patch) | |
tree | 58569132c57e3ac41c54d9d4c5875b4316496f89 | |
parent | 581eba212eeec68331e4aa4a904d7c2d72bac114 (diff) | |
download | mandoc-cc7ec05a25c9d24fc87089bd37a6aa1fd17568eb.tar.gz |
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.
-rw-r--r-- | roff.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 }, }; |