aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-10-11 15:46:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-10-11 15:46:19 +0000
commit7113944571eb8954664d41200813db1a1d5e1d02 (patch)
treedc941af8fb58f579fd168371c1b821bc96c83d77 /mandoc.h
parentb729779f70beff4550eea216b4be1c930d814079 (diff)
downloadmandoc-7113944571eb8954664d41200813db1a1d5e1d02.tar.gz
mandoc-7113944571eb8954664d41200813db1a1d5e1d02.tar.zst
mandoc-7113944571eb8954664d41200813db1a1d5e1d02.zip
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 12b267ea..140e06d4 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.22 2010/10/04 07:01:02 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.23 2010/10/11 15:46:19 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 */