summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-06 07:12:36 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-06 07:12:36 +0000
commit8bdc4cbb7bd92dd988abb444b6ab0b017e3dedd4 (patch)
treee4f8418adccc0eea37e7447903596f7518031103 /usr.bin/mandoc/read.c
parent24a820edfbe9913388986ce79213bb7e8730cf19 (diff)
Delete the legacy generic warning type MANDOCERR_ARGCWARN,
replacing the last instances by more specific warnings. Improved functionality, minus 50 lines of code.
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 95fbee763f9..05bb1a4158f 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.98 2015/02/06 03:31:11 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.99 2015/02/06 07:12:34 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -131,8 +131,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"skipping empty request",
"conditional request controls empty scope",
"skipping empty macro",
+ "empty block",
"empty argument, using 0n",
- "argument count wrong",
"missing display type, using -ragged",
"list type is not the first argument",
"missing -width in -tag list, using 8n",