diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
commit | 81aa584b2fb42578083c3724876f0d11d9e09e4d (patch) | |
tree | 542564f1972e19ff89c99a2408036b552424ca0a /regress/mdoc/No | |
parent | 0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff) | |
download | mandoc-81aa584b2fb42578083c3724876f0d11d9e09e4d.tar.gz |
style message about missing blank before trailing delimiter;
inspired by mdoclint(1), and jmc@ considers it useful
Diffstat (limited to 'regress/mdoc/No')
-rw-r--r-- | regress/mdoc/No/punct.in | 5 | ||||
-rw-r--r-- | regress/mdoc/No/punct.out_ascii | 4 | ||||
-rw-r--r-- | regress/mdoc/No/punct.out_lint | 1 | ||||
-rw-r--r-- | regress/mdoc/No/punct.out_markdown | 5 |
4 files changed, 12 insertions, 3 deletions
diff --git a/regress/mdoc/No/punct.in b/regress/mdoc/No/punct.in index c952c7c4..06615231 100644 --- a/regress/mdoc/No/punct.in +++ b/regress/mdoc/No/punct.in @@ -1,4 +1,4 @@ -.Dd November 17, 2014 +.Dd June 9, 2017 .Dt NO-PUNCT 1 .Os OpenBSD .Sh NAME @@ -81,3 +81,6 @@ Quoted: .No "a . b Nm" "Sy" bold .No ". b Nm" .No "." +.Pp +Missing blank: +.No a. diff --git a/regress/mdoc/No/punct.out_ascii b/regress/mdoc/No/punct.out_ascii index 94252d88..0cf3d7f4 100644 --- a/regress/mdoc/No/punct.out_ascii +++ b/regress/mdoc/No/punct.out_ascii @@ -23,4 +23,6 @@ DDEESSCCRRIIPPTTIIOONN Quoted: a . b Nm bboolldd . b Nm . -OpenBSD November 17, 2014 OpenBSD + Missing blank: a. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/No/punct.out_lint b/regress/mdoc/No/punct.out_lint index e46cd67f..15430486 100644 --- a/regress/mdoc/No/punct.out_lint +++ b/regress/mdoc/No/punct.out_lint @@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping empty macro: No mandoc: punct.in:74:7: WARNING: skipping empty macro: No mandoc: punct.in:75:7: WARNING: skipping empty macro: No mandoc: punct.in:83:2: WARNING: skipping empty macro: No +mandoc: punct.in:86:6: STYLE: no blank before trailing delimiter: No a. diff --git a/regress/mdoc/No/punct.out_markdown b/regress/mdoc/No/punct.out_markdown index 6dd09c85..daa2f923 100644 --- a/regress/mdoc/No/punct.out_markdown +++ b/regress/mdoc/No/punct.out_markdown @@ -83,4 +83,7 @@ a . b Nm **bold** . b Nm . -OpenBSD - November 17, 2014 +Missing blank: +a. + +OpenBSD - June 9, 2017 |