diff options
author | 2017-02-16 03:00:23 +0000 | |
---|---|---|
committer | 2017-02-16 03:00:23 +0000 | |
commit | 873dc9b1d77212924c035df9c1accfbb3a4a6a7e (patch) | |
tree | 808bfc450c8bb7abb5f7f1c1b43d0af1d149b29d /mdoc_term.c | |
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 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index dc17de54..398fc3f5 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.343 2017/02/06 03:44:58 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.344 2017/02/16 03:00:23 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -395,14 +395,6 @@ print_mdoc_node(DECL_ARGS) */ if (ENDBODY_NOT != n->end) n->body->flags |= NODE_ENDED; - - /* - * End of line terminating an implicit block - * while an explicit block is still open. - * Continue the explicit block without spacing. - */ - if (ENDBODY_NOSPACE == n->end) - p->flags |= TERMP_NOSPACE; break; } |