summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-19 09:14:50 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-19 09:14:50 +0000
commitaade897081e194716754b33820106010e2b0ad04 (patch)
tree685ac08b6c3f40f0ad7b84d21f7c697a86909444 /man_validate.c
parentda55485ae1f9a11536b11b9af51a3964d20caa7b (diff)
downloadmandoc-aade897081e194716754b33820106010e2b0ad04.tar.gz
Added RS/RE macro pair (had to adjust closing rules, sec/ssec/rs/par).
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/man_validate.c b/man_validate.c
index e02df1f9..0656f00b 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -83,6 +83,8 @@ static const struct man_valid man_valids[MAN_MAX] = {
{ pres_bline, posts_eq0 }, /* nf */
{ pres_bline, posts_eq0 }, /* fi */
{ NULL, NULL }, /* r */
+ { NULL, NULL }, /* RE */
+ { NULL, NULL }, /* RS */
};
@@ -137,6 +139,8 @@ static int
check_root(CHKARGS)
{
+ /* FIXME: closing out explicit scope! */
+
/* XXX - make this into a warning? */
if (MAN_BLINE & m->flags)
return(man_nerr(m, n, WEXITSCOPE));