summaryrefslogtreecommitdiffstats
path: root/read.c
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 /read.c
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 'read.c')
-rw-r--r--read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.c b/read.c
index 014adb5b..7db8871d 100644
--- a/read.c
+++ b/read.c
@@ -135,6 +135,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"missing display type",
"list type must come first",
"tag lists require a width argument",
+ "missing head in list item",
"missing font type",
/* related to bad macro arguments */
@@ -189,7 +190,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"missing end of block",
"scope open on exit",
"uname(3) system call failed",
- "macro requires line argument(s)",
"macro requires body argument(s)",
"macro requires argument(s)",
"request requires a numeric argument",