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 /libmdoc.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 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.108 2015/11/07 14:01:16 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.109 2017/02/16 03:00:23 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -70,7 +70,7 @@ struct roff_node *mdoc_block_alloc(struct roff_man *, int, int, int, struct mdoc_arg *); void mdoc_tail_alloc(struct roff_man *, int, int, int); struct roff_node *mdoc_endbody_alloc(struct roff_man *, int, int, int, - struct roff_node *, enum mdoc_endbody); + struct roff_node *); void mdoc_node_relink(struct roff_man *, struct roff_node *); void mdoc_node_validate(struct roff_man *); void mdoc_state(struct roff_man *, struct roff_node *); |