summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2012-11-16 22:21:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2012-11-16 22:21:05 +0000
commitfef2be9d4fbfa0fd7ac0a086c950c1ce9013a984 (patch)
tree81f4f49ee588e1bb33214f329f50637fe674b62d /mandoc.h
parent82b810d5c731f9ec651a74358edd7bc1447233ba (diff)
downloadmandoc-fef2be9d4fbfa0fd7ac0a086c950c1ce9013a984.tar.gz
Warn about unknown volume or arch in Dt macro arguments;
patch written by Nicolas Joly <njoly at pasteur dot fr>.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index af8a5d93..1a53ea11 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -50,6 +50,7 @@ enum mandocerr {
MANDOCERR_NOTITLE, /* no title in document */
MANDOCERR_UPPERCASE, /* document title should be all caps */
MANDOCERR_BADMSEC, /* unknown manual section */
+ MANDOCERR_BADVOLARCH, /* unknown manual volume or arch */
MANDOCERR_NODATE, /* date missing, using today's date */
MANDOCERR_BADDATE, /* cannot parse date, using it verbatim */
MANDOCERR_PROLOGOOO, /* prologue macros out of order */