diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-27 12:17:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-27 12:17:36 +0000 |
commit | fc3f88d1377c7bffa72b592c383a452c6267a2d1 (patch) | |
tree | 1dc885c67b44f8f19459b1920ca04d616fe24cf9 /regress/usr.bin/mandoc/mdoc/Ns/position.in | |
parent | e42e596c0d7b439f21422d484a24a670984ed0c1 (diff) |
warn about .Ns macros that have no effect because they are followed
by an isolated closing delimiter; inspired by mdoclint
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Ns/position.in')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ns/position.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Ns/position.in b/regress/usr.bin/mandoc/mdoc/Ns/position.in index 1325df25c5f..56fc5de6b86 100644 --- a/regress/usr.bin/mandoc/mdoc/Ns/position.in +++ b/regress/usr.bin/mandoc/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 |