diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-27 12:18:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-27 12:18:00 +0000 |
commit | ce3e6e6c76cc1cfca6d316eee86a713e5a145ba6 (patch) | |
tree | 1aa5f52f108bbce45fd93524e417ff0aae4ea242 /mandoc.1 | |
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 'mandoc.1')
-rw-r--r-- | mandoc.1 | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.207 2017/06/25 17:43:45 schwarze Exp $ +.\" $Id: mandoc.1,v 1.208 2017/06/27 12:18:00 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 25 2017 $ +.Dd $Mdocdate: June 27 2017 $ .Dt MANDOC 1 .Os .Sh NAME @@ -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 |