summaryrefslogtreecommitdiffstatshomepage
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
commit02379e543c459cb8556393d0ab5fda334edab0d7 (patch)
treee2c0ae80fd57b42975341ea1741bd86884b3cafc /man_validate.c
parent7c67b43d407196d43169cf857b1412fca26b1ad5 (diff)
downloadmandoc-02379e543c459cb8556393d0ab5fda334edab0d7.tar.gz
mandoc-02379e543c459cb8556393d0ab5fda334edab0d7.tar.zst
mandoc-02379e543c459cb8556393d0ab5fda334edab0d7.zip
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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c
index 27b65e8d..bfd14083 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -1,4 +1,4 @@
-/* $Id: man_validate.c,v 1.18 2009/08/18 11:46:44 kristaps Exp $ */
+/* $Id: man_validate.c,v 1.19 2009/08/19 09:14:50 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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));