diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-30 19:04:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-30 19:04:16 +0000 |
commit | fc07bd4ebdd99fc6e88a9e48d44eae67c93f0b24 (patch) | |
tree | f2c792a331013989c5a5314c9567b9ca77876366 /read.c | |
parent | 86f7c723953672d317bade10fa45e919e6bec8ff (diff) | |
download | mandoc-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 'read.c')
-rw-r--r-- | read.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.144 2015/10/13 22:59:54 schwarze Exp $ */ +/* $Id: read.c,v 1.145 2015/10/30 19:04:16 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -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", |