diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-14 01:43:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-14 01:43:14 +0000 |
commit | de451aaf7a927d2994d3e526df07235dee8005af (patch) | |
tree | 72bb3606aa358eca8ca756cdb966179e4e15e775 /roff.c | |
parent | b054139131501bd123a6f4e952b8c5409e4955ad (diff) | |
download | mandoc-de451aaf7a927d2994d3e526df07235dee8005af.tar.gz mandoc-de451aaf7a927d2994d3e526df07235dee8005af.tar.zst mandoc-de451aaf7a927d2994d3e526df07235dee8005af.zip |
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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.184 2013/10/05 22:25:12 schwarze Exp $ */ +/* $Id: roff.c,v 1.185 2013/10/14 01:43:14 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -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 }, |