diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 20:51:40 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 20:51:40 +0000 |
commit | 41c0c172fa779a830e564f1257bee34c155ba2d0 (patch) | |
tree | e028513b19af5d85a34dac3d72c7b14bde6840a3 /man_validate.c | |
parent | e29a5b5a80c81fa6045785639e678bb968bd3e34 (diff) | |
download | mandoc-41c0c172fa779a830e564f1257bee34c155ba2d0.tar.gz mandoc-41c0c172fa779a830e564f1257bee34c155ba2d0.tar.zst mandoc-41c0c172fa779a830e564f1257bee34c155ba2d0.zip |
Pull `ig' out of -man and leave it the roff preparser.
Diffstat (limited to 'man_validate.c')
-rw-r--r-- | man_validate.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/man_validate.c b/man_validate.c index ca920646..bfce2287 100644 --- a/man_validate.c +++ b/man_validate.c @@ -1,4 +1,4 @@ -/* $Id: man_validate.c,v 1.37 2010/05/15 15:54:39 kristaps Exp $ */ +/* $Id: man_validate.c,v 1.38 2010/05/15 20:51:40 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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); |