summaryrefslogtreecommitdiffstats
path: root/regress/man/TP
diff options
context:
space:
mode:
Diffstat (limited to 'regress/man/TP')
-rw-r--r--regress/man/TP/Makefile1
-rw-r--r--regress/man/TP/broken.in4
-rw-r--r--regress/man/TP/broken.out_ascii2
-rw-r--r--regress/man/TP/broken.out_lint1
4 files changed, 8 insertions, 0 deletions
diff --git a/regress/man/TP/Makefile b/regress/man/TP/Makefile
index b867ba63..8d81e954 100644
--- a/regress/man/TP/Makefile
+++ b/regress/man/TP/Makefile
@@ -8,6 +8,7 @@ LINT_TARGETS = broken double eof
# groff-1.22.3 defects:
# - If .TP precedes .RE, the latter does not properly reset indentation.
# - If the last line of the file is .TP, groff does not print a page footer.
+# - A blank line in .TP next line scope causes a blank line.
SKIP_GROFF = broken eof
diff --git a/regress/man/TP/broken.in b/regress/man/TP/broken.in
index c111caeb..5638ea33 100644
--- a/regress/man/TP/broken.in
+++ b/regress/man/TP/broken.in
@@ -11,3 +11,7 @@ text
.RE
regular
text
+.TP
+
+head
+body
diff --git a/regress/man/TP/broken.out_ascii b/regress/man/TP/broken.out_ascii
index e19efdf0..68fab4f0 100644
--- a/regress/man/TP/broken.out_ascii
+++ b/regress/man/TP/broken.out_ascii
@@ -10,6 +10,8 @@ DDEESSCCRRIIPPTTIIOONN
indented text
regular text
+ head body
+
OpenBSD December 16, 2014 TP-BROKEN(1)
diff --git a/regress/man/TP/broken.out_lint b/regress/man/TP/broken.out_lint
index 3a1024fc..1a3a433b 100644
--- a/regress/man/TP/broken.out_lint
+++ b/regress/man/TP/broken.out_lint
@@ -1 +1,2 @@
mandoc: broken.in:10:2: WARNING: line scope broken: RE breaks TP
+mandoc: broken.in:15:1: WARNING: skipping blank line in line scope