summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-10-14 01:43:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-10-14 01:43:14 +0000
commit9680b7282e62aa4b1c49f8ee927df097cbe37246 (patch)
treec0c9ddf7188152d1c2c6afe7b3812152e3a42950 /roff.c
parent801cd6d3288d6577a3a44657a8f4a8ce76072091 (diff)
downloadmandoc-9680b7282e62aa4b1c49f8ee927df097cbe37246.tar.gz
Parse and ignore the .fam (font family) request.
Fixes irunner(1) in devel/ipython and uim-xim(1) in inputmethods/uim. Thanks to naddy@ for bringing these to my attention.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/roff.c b/roff.c
index e5f1a33b..352e5549 100644
--- a/roff.c
+++ b/roff.c
@@ -46,6 +46,7 @@ enum rofft {
ROFF_de1,
ROFF_ds,
ROFF_el,
+ ROFF_fam,
ROFF_hy,
ROFF_ie,
ROFF_if,
@@ -235,6 +236,7 @@ static struct roffmac roffs[ROFF_MAX] = {
{ "de1", roff_block, roff_block_text, roff_block_sub, 0, NULL },
{ "ds", roff_ds, NULL, NULL, 0, NULL },
{ "el", roff_cond, roff_cond_text, roff_cond_sub, ROFFMAC_STRUCT, NULL },
+ { "fam", roff_line_ignore, NULL, NULL, 0, NULL },
{ "hy", roff_line_ignore, NULL, NULL, 0, NULL },
{ "ie", roff_cond, roff_cond_text, roff_cond_sub, ROFFMAC_STRUCT, NULL },
{ "if", roff_cond, roff_cond_text, roff_cond_sub, ROFFMAC_STRUCT, NULL },