aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitfc07bd4ebdd99fc6e88a9e48d44eae67c93f0b24 (patch)
treef2c792a331013989c5a5314c9567b9ca77876366 /mandoc.h
parent86f7c723953672d317bade10fa45e919e6bec8ff (diff)
downloadmandoc-fc07bd4ebdd99fc6e88a9e48d44eae67c93f0b24.tar.gz
mandoc-fc07bd4ebdd99fc6e88a9e48d44eae67c93f0b24.tar.zst
mandoc-fc07bd4ebdd99fc6e88a9e48d44eae67c93f0b24.zip
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index bd833ab9..d37187f3 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.206 2015/10/13 22:59:54 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.207 2015/10/30 19:04:16 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 */