diff options
author | 2015-02-04 16:38:31 +0000 | |
---|---|---|
committer | 2015-02-04 16:38:31 +0000 | |
commit | 1570daf1837105baffec386f665c6031eb958fa4 (patch) | |
tree | 081c91a1dfe50e536ba8fd34b95cd9b6d9dd8f05 /usr.bin/mandoc/read.c | |
parent | Typo (diff) | |
download | wireguard-openbsd-1570daf1837105baffec386f665c6031eb958fa4.tar.xz wireguard-openbsd-1570daf1837105baffec386f665c6031eb958fa4.zip |
more specific .Nd diagnostics, allowing to get rid of enum check_lvl
and the respective argument of check_count()
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r-- | usr.bin/mandoc/read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c index 0fdae06fdbc..9282797b95e 100644 --- a/usr.bin/mandoc/read.c +++ b/usr.bin/mandoc/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.95 2015/01/28 21:10:28 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.96 2015/02/04 16:38:31 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -105,6 +105,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "content before first section header", "first section is not \"NAME\"", "bad NAME section contents", + "missing description line, using \"\"", "sections out of conventional order", "duplicate section title", "unexpected section", |