aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
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
commit565360053d62a3b5df9e9ccc0926c3e6340fef63 (patch)
treef4f2345878db47d41e74be046a7f42937eef4378 /read.c
parentd686462c7725fa8c3cab24acbaf5242bc67ad61a (diff)
downloadmandoc-565360053d62a3b5df9e9ccc0926c3e6340fef63.tar.gz
mandoc-565360053d62a3b5df9e9ccc0926c3e6340fef63.tar.zst
mandoc-565360053d62a3b5df9e9ccc0926c3e6340fef63.zip
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 'read.c')
-rw-r--r--read.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/read.c b/read.c
index 82996eaf..f86d5700 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.175 2017/06/11 17:16:51 schwarze Exp $ */
+/* $Id: read.c,v 1.176 2017/06/11 19:37:01 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -88,6 +88,9 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"generic style suggestion",
+ "Mdocdate found",
+ "Mdocdate missing",
+ "legacy man(7) date format",
"useless macro",
"consider using OS macro",
"errnos out of order",