summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-04 16:38:56 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-04 16:38:56 +0000
commit4b11a0d9e89857f2dca95de899e7a6a4115e4c1a (patch)
tree5f8a3161e664f80987b5a009abb5877e33f49f35 /mandoc.h
parent2e1c41199ddd5ebad6090b8f33870fb2e027f7dd (diff)
downloadmandoc-4b11a0d9e89857f2dca95de899e7a6a4115e4c1a.tar.gz
more specific .Nd diagnostics, allowing to get rid of enum check_lvl
and the respective argument of check_count()
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 4cb653b4..a686799a 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -66,6 +66,7 @@ enum mandocerr {
MANDOCERR_SEC_BEFORE, /* content before first section header: macro */
MANDOCERR_NAMESEC_FIRST, /* first section is not NAME: Sh title */
MANDOCERR_NAMESEC_BAD, /* bad NAME section contents: macro */
+ MANDOCERR_ND_EMPTY, /* missing description line, using "" */
MANDOCERR_SEC_ORDER, /* sections out of conventional order: Sh title */
MANDOCERR_SEC_REP, /* duplicate section title: Sh title */
MANDOCERR_SEC_MSEC, /* unexpected section: Sh title for ... only */