summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-06 11:54:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-06 11:54:36 +0000
commitdaf2e16fdc43b128212a4ed878eda6db14c08074 (patch)
tree226a418cbf3ee1510fde9bad6d26f52b7dabeb9b /mandoc.h
parenta2da7908b98806106e371a1ff27e835194407859 (diff)
downloadmandoc-daf2e16fdc43b128212a4ed878eda6db14c08074.tar.gz
better error reporting regarding .OP .RS .UR .TH arguments
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index ac554f58..a2293d34 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -106,6 +106,8 @@ enum mandocerr {
MANDOCERR_PF_SKIP, /* nothing follows prefix: Pf arg */
MANDOCERR_RS_EMPTY, /* empty reference block: Rs */
MANDOCERR_ARG_STD, /* missing -std argument, adding it: macro */
+ MANDOCERR_OP_EMPTY, /* missing option string, using "": OP */
+ MANDOCERR_UR_NOHEAD, /* missing resource identifier, using "": UR */
MANDOCERR_EQN_NOBOX, /* missing eqn box, using "": op */
/* related to bad arguments */