From 084572bae5c8661535387f7896335c840eb257d5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 11 Jun 2017 19:36:32 +0000 Subject: 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). --- usr.bin/mandoc/read.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin/mandoc/read.c') 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 * Copyright (c) 2010-2017 Ingo Schwarze @@ -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", -- cgit v1.2.3