summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 20:51:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 20:51:40 +0000
commit45ec86af0876cfb3fe26e9d6545dd7fe008b81f0 (patch)
tree2be8f9a2ca8e4913741f6f25bed437d316915fb0 /man_validate.c
parent3094579682f28cc9511e5e52f5fef2f4ee335f8c (diff)
downloadmandoc-45ec86af0876cfb3fe26e9d6545dd7fe008b81f0.tar.gz
Pull `ig' out of -man and leave it the roff preparser.
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/man_validate.c b/man_validate.c
index a7b21167..fefc4fdd 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -101,7 +101,6 @@ static const struct man_valid man_valids[MAN_MAX] = {
{ pres_roff, NULL }, /* dei */
{ pres_roff, NULL }, /* am */
{ pres_roff, NULL }, /* ami */
- { pres_roff, NULL }, /* ig */
{ NULL, NULL }, /* . */
};
@@ -335,8 +334,7 @@ check_roff(CHKARGS)
for (n = n->parent; n; n = n->parent)
if (MAN_de == n->tok || MAN_dei == n->tok ||
MAN_am == n->tok ||
- MAN_ami == n->tok ||
- MAN_ig == n->tok)
+ MAN_ami == n->tok)
return(man_nerr(m, n, WROFFNEST));
return(1);