aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-03 21:23:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-03 21:23:54 +0000
commitb20db833ab9fe345d4463b10d6fa74aa21c49aca (patch)
treec073ec6d9d2055d1f8c7b155b5c53ce35dfeef57 /mandoc.h
parenteea7a417f94cca4382928d176498141c7b113250 (diff)
downloadmandoc-b20db833ab9fe345d4463b10d6fa74aa21c49aca.tar.gz
mandoc-b20db833ab9fe345d4463b10d6fa74aa21c49aca.tar.zst
mandoc-b20db833ab9fe345d4463b10d6fa74aa21c49aca.zip
MANDOCERR_NOARGS reported three completely unrelated classes of problems.
Split the roff(7) parts out of it and report the request names for these cases.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 2848d2bc..d0b530aa 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.130 2014/07/02 20:19:11 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.131 2014/07/03 21:23:54 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -83,7 +83,9 @@ enum mandocerr {
MANDOCERR_NF_SKIP, /* fill mode already disabled, skipping .nf */
MANDOCERR_LINESCOPE, /* line scope broken: macro breaks macro */
- /* related to missing macro arguments */
+ /* related to missing arguments */
+ MANDOCERR_REQ_EMPTY, /* skipping empty request: request */
+ MANDOCERR_COND_EMPTY, /* conditional request controls empty scope */
MANDOCERR_MACRO_EMPTY, /* skipping empty macro: macro */
MANDOCERR_ARGCWARN, /* argument count wrong */
MANDOCERR_DISPTYPE, /* missing display type */