summaryrefslogtreecommitdiffstats
path: root/roff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-16 03:00:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-16 03:00:23 +0000
commitb36c2e4756f2b576b474a61019f15645f0cf8388 (patch)
tree17b05ac82abed673c1f86d4f9115be0ca4d06a85 /roff.h
parentc5b0120ca117dc54fa423077e5640fc89c76e334 (diff)
downloadmandoc-b36c2e4756f2b576b474a61019f15645f0cf8388.tar.gz
Remove the ENDBODY_NOSPACE flag, simplifying the code.
Comparing to groff output, it appears that all cases where it was used and made a difference actually require the opposite, ENDBODY_SPACE. I have no idea why i added it back in 2010; maybe to compensate for some other bug that has long been fixed.
Diffstat (limited to 'roff.h')
-rw-r--r--roff.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/roff.h b/roff.h
index d0c60f9d..0bc70333 100644
--- a/roff.h
+++ b/roff.h
@@ -75,8 +75,7 @@ enum roff_next {
*/
enum mdoc_endbody {
ENDBODY_NOT = 0,
- ENDBODY_SPACE, /* Is broken: append a space. */
- ENDBODY_NOSPACE /* Is broken: don't append a space. */
+ ENDBODY_SPACE /* Is broken: append a space. */
};
struct roff_node {