summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-11 19:37:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-11 19:37:00 +0000
commitb96c4feac3240b0841c9ecf67b07da0607aa27b5 (patch)
tree60b7e6d126c09cb88522d0f68c4e6410e0d6f9de /mandoc.h
parent5e455d86a5a5d8a59d1be5988f9769217208b603 (diff)
downloadmandoc-b96c4feac3240b0841c9ecf67b07da0607aa27b5.tar.gz
Style message about legacy man(7) date format in mdoc(7) documents
and operating system dependent messages about missing or unexpected Mdocdate; inspired by mdoclint(1).
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 67abe210..3f2a7e1c 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -46,6 +46,9 @@ enum mandocerr {
MANDOCERR_STYLE, /* ===== start of style suggestions ===== */
+ MANDOCERR_MDOCDATE, /* Mdocdate found: Dd ... */
+ MANDOCERR_MDOCDATE_MISSING, /* Mdocdate missing: Dd ... */
+ MANDOCERR_DATE_LEGACY, /* legacy man(7) date format: Dd ... */
MANDOCERR_MACRO_USELESS, /* useless macro: macro */
MANDOCERR_BX, /* consider using OS macro: macro */
MANDOCERR_ER_ORDER, /* errnos out of order: Er ... */