summaryrefslogtreecommitdiffstats
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-31 09:22:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-31 09:22:21 +0000
commit1004133003f9d9a7e7783789c69eeb59bba73d1b (patch)
tree29f3f6d665ab75a36d4d6b3fd4793b1c7757de5c /read.c
parent5a362245c3c1c09a5513aea71ecdde2ff478b0c9 (diff)
downloadmandoc-1004133003f9d9a7e7783789c69eeb59bba73d1b.tar.gz
Split MANDOCERR_IGNARGV into one message for .An and one for .Bl
and report the macro name and argument.
Diffstat (limited to 'read.c')
-rw-r--r--read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/read.c b/read.c
index 0747fd0c..83ee1845 100644
--- a/read.c
+++ b/read.c
@@ -144,11 +144,12 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"missing -std argument, adding it",
/* related to bad macro arguments */
- "skipping argument",
"unterminated quoted argument",
"duplicate argument",
+ "skipping duplicate argument",
"skipping duplicate display type",
"skipping duplicate list type",
+ "skipping -width argument",
"unknown AT&T UNIX version",
"invalid content in Rs block",
"invalid Boolean argument",