diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-03 15:55:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-03 15:55:24 +0000 |
commit | 90897efbceb54855c1943f8e19d5bba5a542ff65 (patch) | |
tree | e2c70156dcf82c5d21e24e9dda0d94d0cb1a26f2 /regress/man/SH | |
parent | 3248b177a4b5624bb57796f898b81736244d2579 (diff) | |
download | mandoc-90897efbceb54855c1943f8e19d5bba5a542ff65.tar.gz |
ignore blank lines in man(7) next line scope;
strange groff edge case behaviour found in multimedia/mjpegtools
Diffstat (limited to 'regress/man/SH')
-rw-r--r-- | regress/man/SH/Makefile | 1 | ||||
-rw-r--r-- | regress/man/SH/noarg.in | 4 | ||||
-rw-r--r-- | regress/man/SH/noarg.out_ascii | 3 | ||||
-rw-r--r-- | regress/man/SH/noarg.out_lint | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/regress/man/SH/Makefile b/regress/man/SH/Makefile index f94a4cae..6fff341f 100644 --- a/regress/man/SH/Makefile +++ b/regress/man/SH/Makefile @@ -10,6 +10,7 @@ LINT_TARGETS = broken broken_eline empty_before noarg # - If .HP breaks .SH, a line is broken after the next input line. # - If .RS/RE/nf/fi breaks .SH, the next input line becomes bold. # - .UR does not break .SH. +# - blank line in .SH next line scope causes blank lines and bogus indent SKIP_GROFF = broken broken_eline noarg diff --git a/regress/man/SH/noarg.in b/regress/man/SH/noarg.in index 58ccac7c..087ac834 100644 --- a/regress/man/SH/noarg.in +++ b/regress/man/SH/noarg.in @@ -40,3 +40,7 @@ no-fill mode .SH .fi back in fill mode +.SH + +SEE ALSO +broken(1) diff --git a/regress/man/SH/noarg.out_ascii b/regress/man/SH/noarg.out_ascii index bc3490df..903f85d8 100644 --- a/regress/man/SH/noarg.out_ascii +++ b/regress/man/SH/noarg.out_ascii @@ -27,6 +27,9 @@ DDEESSCCRRIIPPTTIIOONN back in fill mode +SSEEEE AALLSSOO + broken(1) + OpenBSD March 20, 2015 SH-NOARG(1) diff --git a/regress/man/SH/noarg.out_lint b/regress/man/SH/noarg.out_lint index a1bb39b4..3f9d130d 100644 --- a/regress/man/SH/noarg.out_lint +++ b/regress/man/SH/noarg.out_lint @@ -11,3 +11,4 @@ mandoc: noarg.in:31:2: WARNING: line scope broken: UR breaks SH mandoc: noarg.in:34:2: WARNING: line scope broken: UE breaks SH mandoc: noarg.in:35:2: ERROR: skipping end of block that is not open: UE mandoc: noarg.in:41:2: WARNING: fill mode already enabled, skipping: fi +mandoc: noarg.in:44:1: WARNING: skipping blank line in line scope |