From f739df3eaac944850aad1f8782a73ad20c7a6450 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 4 Feb 2015 16:38:56 +0000 Subject: more specific .Nd diagnostics, allowing to get rid of enum check_lvl and the respective argument of check_count() --- mandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandoc.h') diff --git a/mandoc.h b/mandoc.h index 01dbafa6..efb2c8a2 100644 --- a/mandoc.h +++ b/mandoc.h @@ -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 * Copyright (c) 2010-2015 Ingo Schwarze @@ -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 */ -- cgit v1.2.3