summaryrefslogtreecommitdiffstats
path: root/regress/roff/cond/close.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-11-26 17:44:34 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-11-26 17:44:34 +0000
commit5179a6f85473d6533f50f28255252719ec60009d (patch)
treec237d1b99e4a76f72e7fb836cda539820bf3c6b9 /regress/roff/cond/close.out_lint
parentb7bfc264a560e768bb85e6c8d26e33d5c6ebe27e (diff)
downloadmandoc-5179a6f85473d6533f50f28255252719ec60009d.tar.gz
When a conditional block is closed by putting "\}" on a text line
by itself (which is somewhat unusual but not invalid; most authors use the empty macro line ".\}" instead), agree more closely with groff and do not produce a double space in the output. Quirk reported by millert@. While here, tweak the rest of the function body of roff_cond_text() to more closely match roff_cond_sub(). The subtly different handling could make people (including myself) wonder whether there is any point in being different. Testing shows there is not.
Diffstat (limited to 'regress/roff/cond/close.out_lint')
-rw-r--r--regress/roff/cond/close.out_lint4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/roff/cond/close.out_lint b/regress/roff/cond/close.out_lint
index 4387b057..d6f52146 100644
--- a/regress/roff/cond/close.out_lint
+++ b/regress/roff/cond/close.out_lint
@@ -1,2 +1,2 @@
-mandoc: close.in:15:2: ERROR: appending missing end of block: if
-mandoc: close.in:15:9: WARNING: skipping paragraph macro: sp after PP
+mandoc: close.in:31:2: ERROR: appending missing end of block: if
+mandoc: close.in:31:9: WARNING: skipping paragraph macro: sp after PP