summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-27 12:18:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-27 12:18:00 +0000
commite9817d1eee252f2a60704c140932abd01803441b (patch)
treecbeb21eb9bd60a58cd0da3b9275fbc86284fda68 /mandoc.1
parent7a652daded74f9e8becb34e9dca1d6202eae46fe (diff)
downloadmandoc-e9817d1eee252f2a60704c140932abd01803441b.tar.gz
warn about .Ns macros that have no effect because they are followed
by an isolated closing delimiter; inspired by mdoclint
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.14
1 files changed, 3 insertions, 1 deletions
diff --git a/mandoc.1 b/mandoc.1
index 1d731558..4d5eeb94 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1175,7 +1175,9 @@ The paragraph macro is moved after the end of the list.
.Pq mdoc
An input line begins with an
.Ic \&Ns
-macro.
+macro, or the next argument after an
+.Ic \&Ns
+macro is an isolated closing delimiter.
The macro is ignored.
.It Sy "blocks badly nested"
.Pq mdoc