summaryrefslogtreecommitdiffstats
path: root/read.c
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 /read.c
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 'read.c')
-rw-r--r--read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/read.c b/read.c
index 980e0e43..6ed4fb29 100644
--- a/read.c
+++ b/read.c
@@ -215,6 +215,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
/* related to request and macro arguments */
"escaped character not allowed in a name",
"NOT IMPLEMENTED: Bd -file",
+ "skipping display without arguments",
"missing list type, using -item",
"missing manual name, using \"\"",
"uname(3) system call failed, using UNKNOWN",