summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-03 23:24:56 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-03 23:24:56 +0000
commitd34c8b8f2efbf5e05c8603d4ea4f46f0b338661a (patch)
tree62e804b33db8a43ba1843508cbd098ccb404999a /mandoc.h
parentb3a2c4a288eaff61368f73f9008d243d10ff5f7c (diff)
downloadmandoc-d34c8b8f2efbf5e05c8603d4ea4f46f0b338661a.tar.gz
Fix formatting of empty .Bl -inset item heads.
Downgrade empty item heads from ERROR to WARNING. Show the list type in the error message. Choose better variable names for nodes in post_it().
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index bc2bd976..58f6f644 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -91,6 +91,7 @@ enum mandocerr {
MANDOCERR_DISPTYPE, /* missing display type */
MANDOCERR_LISTFIRST, /* list type must come first */
MANDOCERR_NOWIDTHARG, /* tag lists require a width argument */
+ MANDOCERR_IT_NOHEAD, /* missing head in list item: type */
MANDOCERR_FONTTYPE, /* missing font type */
/* related to bad macro arguments */
@@ -146,7 +147,6 @@ enum mandocerr {
MANDOCERR_SCOPEEXIT, /* scope open on exit */
MANDOCERR_UNAME, /* uname(3) system call failed */
/* FIXME: merge following with MANDOCERR_ARGCOUNT */
- MANDOCERR_NOARGS, /* macro requires line argument(s) */
MANDOCERR_NOBODY, /* macro requires body argument(s) */
MANDOCERR_NOARGV, /* macro requires argument(s) */
MANDOCERR_NUMERIC, /* request requires a numeric argument */