diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 16:38:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 16:38:56 +0000 |
commit | f739df3eaac944850aad1f8782a73ad20c7a6450 (patch) | |
tree | 319e42a2f39b2c8d2fafef3829f965d96a8df398 /mandoc.h | |
parent | 45c857f2a737d5ebf9b32cc03250fa6333d9e2c5 (diff) | |
download | mandoc-f739df3eaac944850aad1f8782a73ad20c7a6450.tar.gz mandoc-f739df3eaac944850aad1f8782a73ad20c7a6450.tar.zst mandoc-f739df3eaac944850aad1f8782a73ad20c7a6450.zip |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.194 2015/01/30 17:32:16 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.195 2015/02/04 16:38:56 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -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 */ |