summaryrefslogtreecommitdiffstats
path: root/mandoc.h
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 /mandoc.h
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 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 8aba7687..4ab6fb5a 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -100,11 +100,12 @@ enum mandocerr {
MANDOCERR_ARG_STD, /* missing -std argument, adding it: macro */
/* related to bad arguments */
- MANDOCERR_IGNARGV, /* skipping argument */
MANDOCERR_ARG_QUOTE, /* unterminated quoted argument */
MANDOCERR_ARG_REP, /* duplicate argument: macro arg */
+ MANDOCERR_AN_REP, /* skipping duplicate argument: An -arg */
MANDOCERR_BD_REP, /* skipping duplicate display type: type */
MANDOCERR_BL_REP, /* skipping duplicate list type: type */
+ MANDOCERR_BL_SKIPW, /* skipping -width argument: Bl -type */
MANDOCERR_AT_BAD, /* unknown AT&T UNIX version: version */
MANDOCERR_RS_BAD, /* invalid content in Rs block: macro */
MANDOCERR_SM_BAD, /* invalid Boolean argument: macro arg */