From 874ac26ff8affa95d651832b3050f9fd13ae9aca Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 7 Sep 2014 23:25:01 +0000 Subject: warn about AUTHORS sections without .An macros, inspired by mdoclint(1) --- mandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandoc.h') diff --git a/mandoc.h b/mandoc.h index a4211454..af8f4fc9 100644 --- a/mandoc.h +++ b/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.153 2014/09/03 23:21:47 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.154 2014/09/07 23:25:01 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -72,6 +72,7 @@ enum mandocerr { 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 */ + MANDOCERR_AN_MISSING, /* AUTHORS section without An macro */ /* related to macros and nesting */ MANDOCERR_MACRO_OBS, /* obsolete macro: macro */ -- cgit v1.2.3-56-ge451