summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-30 19:04:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-30 19:04:16 +0000
commitf09689841f25650e61f65b87c1c8e4c2edbf4137 (patch)
tree40964ab4cd685543670d3bbbaf51c1461a1d145e /mandoc.h
parentbd1ba68e6adefe4522546f09c18b0e8f7e0326ab (diff)
downloadmandoc-f09689841f25650e61f65b87c1c8e4c2edbf4137.tar.gz
If a .Bd block has no arguments at all, drop the block and only keep
its contents. Removing a gratuitious difference to groff output found after a related bug report from krw@.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 63e68707..cfa88345 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -172,6 +172,7 @@ enum mandocerr {
/* related to request and macro arguments */
MANDOCERR_NAMESC, /* escaped character not allowed in a name: name */
MANDOCERR_BD_FILE, /* NOT IMPLEMENTED: Bd -file */
+ MANDOCERR_BD_NOARG, /* skipping display without arguments: Bd */
MANDOCERR_BL_NOTYPE, /* missing list type, using -item: Bl */
MANDOCERR_NM_NONAME, /* missing manual name, using "": Nm */
MANDOCERR_OS_UNAME, /* uname(3) system call failed, using UNKNOWN */