aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit0b83ee04e7ac6e2aa80a8ca4dffb138d731aa026 (patch)
tree4dc4320a9ef76ec794c21d79e0adb0624a2354ae /read.c
parentb20db833ab9fe345d4463b10d6fa74aa21c49aca (diff)
downloadmandoc-0b83ee04e7ac6e2aa80a8ca4dffb138d731aa026.tar.gz
mandoc-0b83ee04e7ac6e2aa80a8ca4dffb138d731aa026.tar.zst
mandoc-0b83ee04e7ac6e2aa80a8ca4dffb138d731aa026.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.c b/read.c
index ebda30be..8cc2d17f 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.58 2014/07/03 21:23:54 schwarze Exp $ */
+/* $Id: read.c,v 1.59 2014/07/03 23:24:56 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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",