summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--index.sgml2
-rw-r--r--man_validate.c6
3 files changed, 5 insertions, 7 deletions
diff --git a/TODO b/TODO
index fb371116..b2abfc0e 100644
--- a/TODO
+++ b/TODO
@@ -278,10 +278,6 @@
* error reporting issues
************************************************************************
-- empty .RS blocks in man(7) should be warnings, not errors,
- see for example qemu(1);
- brad@comstyle.com Sat Mar 19 00:36:56 2011
-
************************************************************************
* performance issues
************************************************************************
diff --git a/index.sgml b/index.sgml
index 5d6609b7..64e64cd1 100644
--- a/index.sgml
+++ b/index.sgml
@@ -40,7 +40,7 @@
<P>
<SPAN CLASS="nm">mdocml</SPAN> consists of the <A HREF="mandoc.3.html">libmandoc</A> validating
- compilers and <A HREF="mandoc.1.html">mandoc</A>, which interfaces with the compiler library to format
+ compiler and <A HREF="mandoc.1.html">mandoc</A>, which interfaces with the compiler library to format
output for UNIX terminals, XHTML, HTML, PostScript, and PDF. It is a <A CLASS="external"
HREF="http://bsd.lv/">BSD.lv</A> project.
</P>
diff --git a/man_validate.c b/man_validate.c
index 1325e776..b9e1ff51 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -323,7 +323,8 @@ check_sec(CHKARGS)
man_nmsg(m, n, MANDOCERR_SYNTARGCOUNT);
return(0);
} else if (MAN_BODY == n->type && 0 == n->nchild)
- man_nmsg(m, n, MANDOCERR_NOBODY);
+ mandoc_msg(MANDOCERR_ARGCWARN, m->parse, n->line,
+ n->pos, "want children (have none)");
return(1);
}
@@ -334,7 +335,8 @@ check_part(CHKARGS)
{
if (MAN_BODY == n->type && 0 == n->nchild)
- man_nmsg(m, n, MANDOCERR_NOBODY);
+ mandoc_msg(MANDOCERR_ARGCWARN, m->parse, n->line,
+ n->pos, "want children (have none)");
return(1);
}