aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-06 07:13:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-06 07:13:14 +0000
commit7fefe85053961b17df364545120a269be409beb4 (patch)
tree6d94494870630a9f491e0b4a94211c5beea6e4ba /read.c
parent7dfe6b3fdffd0ff76af3e3d347b0f300fddb15e8 (diff)
downloadmandoc-7fefe85053961b17df364545120a269be409beb4.tar.gz
mandoc-7fefe85053961b17df364545120a269be409beb4.tar.zst
mandoc-7fefe85053961b17df364545120a269be409beb4.zip
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 'read.c')
-rw-r--r--read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.c b/read.c
index 560e6fdd..a52bfb1c 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.123 2015/02/06 03:38:45 schwarze Exp $ */
+/* $Id: read.c,v 1.124 2015/02/06 07:13:14 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -136,8 +136,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",