From ce3e6e6c76cc1cfca6d316eee86a713e5a145ba6 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 27 Jun 2017 12:18:00 +0000 Subject: warn about .Ns macros that have no effect because they are followed by an isolated closing delimiter; inspired by mdoclint --- regress/mdoc/Ns/position.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'regress/mdoc/Ns/position.in') 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 -- cgit v1.2.3-56-ge451