diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-10-11 15:46:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-10-11 15:46:19 +0000 |
commit | db589adcab1b561d91b7f4f4836220972ac0a979 (patch) | |
tree | ab6e0eafcc7d79665719434eaf8b29011e0d955b /mandoc.h | |
parent | 2059a810480a8db91b8e50c2ef15ed9b542e2315 (diff) | |
download | mandoc-db589adcab1b561d91b7f4f4836220972ac0a979.tar.gz |
Use proper error for `An' multiple arguments.
Making IGNARGV be an ERROR, not a WARNING, as information is lost.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,6 @@ enum mandocerr { MANDOCERR_NOWIDTHARG, /* argument requires the width argument */ /* FIXME: merge with MANDOCERR_IGNARGV. */ MANDOCERR_WIDTHARG, /* superfluous width argument */ - MANDOCERR_IGNARGV, /* ignoring argument */ MANDOCERR_BADDATE, /* bad date argument */ MANDOCERR_BADWIDTH, /* bad width argument */ MANDOCERR_BADMSEC, /* unknown manual section */ @@ -75,6 +74,7 @@ enum mandocerr { MANDOCERR_LISTREP, /* list type repeated */ MANDOCERR_DISPREP, /* display type repeated */ MANDOCERR_ARGVREP, /* argument repeated */ + MANDOCERR_IGNARGV, /* ignoring argument */ MANDOCERR_NONAME, /* manual name not yet set */ MANDOCERR_MACROOBS, /* obsolete macro ignored */ MANDOCERR_MACROEMPTY, /* empty macro ignored */ |