From 565360053d62a3b5df9e9ccc0926c3e6340fef63 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 11 Jun 2017 19:37:00 +0000 Subject: Style message about legacy man(7) date format in mdoc(7) documents and operating system dependent messages about missing or unexpected Mdocdate; inspired by mdoclint(1). --- regress/mdoc/Fo/noarg.out_lint | 1 + regress/mdoc/Fo/nohead.out_lint | 1 + regress/mdoc/Fo/obsolete.out_lint | 1 + regress/mdoc/Fo/punct.out_lint | 1 + regress/mdoc/Fo/warn.out_lint | 1 + 5 files changed, 5 insertions(+) (limited to 'regress/mdoc/Fo') diff --git a/regress/mdoc/Fo/noarg.out_lint b/regress/mdoc/Fo/noarg.out_lint index 4c72b01d..d8317c9e 100644 --- a/regress/mdoc/Fo/noarg.out_lint +++ b/regress/mdoc/Fo/noarg.out_lint @@ -7,4 +7,5 @@ mandoc: noarg.in:37:2: WARNING: skipping empty macro: Ft mandoc: noarg.in:39:2: WARNING: skipping empty macro: Fa mandoc: noarg.in:42:2: WARNING: skipping empty macro: Ft mandoc: noarg.in:43:2: WARNING: skipping empty macro: Fn +mandoc: noarg.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: noarg.in:12:10: ERROR: skipping excess arguments: Fo ... bogus diff --git a/regress/mdoc/Fo/nohead.out_lint b/regress/mdoc/Fo/nohead.out_lint index aa0d5242..363e75b3 100644 --- a/regress/mdoc/Fo/nohead.out_lint +++ b/regress/mdoc/Fo/nohead.out_lint @@ -1 +1,2 @@ +mandoc: nohead.in:1:5: STYLE: Mdocdate missing: Dd February mandoc: nohead.in:10:2: WARNING: missing function name, using "": Fo diff --git a/regress/mdoc/Fo/obsolete.out_lint b/regress/mdoc/Fo/obsolete.out_lint index c1ad3d85..20428eac 100644 --- a/regress/mdoc/Fo/obsolete.out_lint +++ b/regress/mdoc/Fo/obsolete.out_lint @@ -1,2 +1,3 @@ +mandoc: obsolete.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: obsolete.in:9:2: WARNING: obsolete macro: Ot mandoc: obsolete.in:12:2: WARNING: obsolete macro: Fr diff --git a/regress/mdoc/Fo/punct.out_lint b/regress/mdoc/Fo/punct.out_lint index a39cf959..1188d6c2 100644 --- a/regress/mdoc/Fo/punct.out_lint +++ b/regress/mdoc/Fo/punct.out_lint @@ -1,3 +1,4 @@ +mandoc: punct.in:1:5: STYLE: Mdocdate missing: Dd May mandoc: punct.in:9:8: STYLE: no blank before trailing delimiter: Fn sin. mandoc: punct.in:11:12: STYLE: no blank before trailing delimiter: Fa y: mandoc: punct.in:13:18: STYLE: no blank before trailing delimiter: Ft float: diff --git a/regress/mdoc/Fo/warn.out_lint b/regress/mdoc/Fo/warn.out_lint index 09fc534f..e72e3390 100644 --- a/regress/mdoc/Fo/warn.out_lint +++ b/regress/mdoc/Fo/warn.out_lint @@ -1,2 +1,3 @@ +mandoc: warn.in:1:5: STYLE: Mdocdate missing: Dd October mandoc: warn.in:9:8: WARNING: parenthesis in function name: sin() mandoc: warn.in:13:19: WARNING: comma in function argument: double y, double x -- cgit v1.2.3-56-ge451