summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-11 19:36:32 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-11 19:36:32 +0000
commit084572bae5c8661535387f7896335c840eb257d5 (patch)
tree299d89fcd00309c8f978292aa8c0f06863374014 /usr.bin/mandoc/read.c
parent7f0805f77fe91296ae982619571157a5f87dcb21 (diff)
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 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 4de20b114ac..2f794e23a53 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.147 2017/06/11 17:16:36 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.148 2017/06/11 19:36:31 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -84,6 +84,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",