From 882c99984a5b562bef7d6cb4685a04fba62a7852 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 28 Apr 2017 16:25:11 +0000 Subject: Delete .Pp right before the first .Sh and right before any .Ss, and warn about it; mdoclint(1) does so, and it makes sense. --- regress/mdoc/Sh/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'regress/mdoc/Sh/Makefile') diff --git a/regress/mdoc/Sh/Makefile b/regress/mdoc/Sh/Makefile index a1db1161..9610ec4c 100644 --- a/regress/mdoc/Sh/Makefile +++ b/regress/mdoc/Sh/Makefile @@ -1,11 +1,16 @@ # $OpenBSD: Makefile,v 1.7 2017/01/08 00:10:22 schwarze Exp $ REGRESS_TARGETS = badNAME before empty emptyNAME first nohead order -REGRESS_TARGETS += orderNAME punctNAME subbefore +REGRESS_TARGETS += orderNAME parbefore parborder punctNAME subbefore LINT_TARGETS = badNAME before empty emptyNAME first nohead order -LINT_TARGETS += orderNAME punctNAME subbefore +LINT_TARGETS += orderNAME parbefore parborder punctNAME subbefore -SKIP_GROFF = subbefore first empty -SKIP_ASCII = first +# groff-1.22.3 defects: +# - .Pp before .Sh NAME causes a blank line before the header line +# - .Ss before .Sh NAME puts the subsection header before the header line +# - missing .Sh NAME causes loss of the header and footer lines +# - .Sh DESCRIPTION Xo aborts the parser + +SKIP_GROFF = parbefore subbefore first empty .include -- cgit v1.2.3-56-ge451