diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-16 03:00:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-16 03:00:23 +0000 |
commit | 873dc9b1d77212924c035df9c1accfbb3a4a6a7e (patch) | |
tree | 808bfc450c8bb7abb5f7f1c1b43d0af1d149b29d /roff.h | |
parent | 08e529bf9f1013c38e9f15c21bac1c75922a0d3e (diff) | |
download | mandoc-873dc9b1d77212924c035df9c1accfbb3a4a6a7e.tar.gz mandoc-873dc9b1d77212924c035df9c1accfbb3a4a6a7e.tar.zst mandoc-873dc9b1d77212924c035df9c1accfbb3a4a6a7e.zip |
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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: roff.h,v 1.39 2017/01/10 13:47:00 schwarze Exp $ */ +/* $Id: roff.h,v 1.40 2017/02/16 03:00:23 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -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 { |