diff options
author | 2017-06-27 12:18:00 +0000 | |
---|---|---|
committer | 2017-06-27 12:18:00 +0000 | |
commit | ce3e6e6c76cc1cfca6d316eee86a713e5a145ba6 (patch) | |
tree | 1aa5f52f108bbce45fd93524e417ff0aae4ea242 /regress/mdoc/Ns/position.in | |
parent | 268c88f5433d2a87d1eeab40076c8737b5786b08 (diff) | |
download | mandoc-ce3e6e6c76cc1cfca6d316eee86a713e5a145ba6.tar.gz mandoc-ce3e6e6c76cc1cfca6d316eee86a713e5a145ba6.tar.zst mandoc-ce3e6e6c76cc1cfca6d316eee86a713e5a145ba6.zip |
warn about .Ns macros that have no effect because they are followed
by an isolated closing delimiter; inspired by mdoclint
Diffstat (limited to 'regress/mdoc/Ns/position.in')
-rw-r--r-- | regress/mdoc/Ns/position.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/mdoc/Ns/position.in b/regress/mdoc/Ns/position.in index 1325df25..56fc5de6 100644 --- a/regress/mdoc/Ns/position.in +++ b/regress/mdoc/Ns/position.in @@ -1,4 +1,4 @@ -.Dd September 15, 2013 +.Dd June 27, 2017 .Dt NS-POSITION 1 .Os OpenBSD .Sh NAME @@ -20,6 +20,12 @@ After some macro and a block closing: In the middle of a macro line: .Oo before Oc Ns Op after .Pp +After closing punctuation: +.Oo before Oc : Ns Op after +.Pp +Before closing punctuation: +.Oo before Oc Ns : Op after +.Pp At the end of a macro line: .Oo before Oc Ns .Op after |