diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 18:03:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 18:03:47 +0000 |
commit | a5e125dfa8853574588e217f6f9c6cd903da5dfb (patch) | |
tree | d105718031be573e0cdea27227bffff6bb049590 /mandoc.1 | |
parent | f739df3eaac944850aad1f8782a73ad20c7a6450 (diff) | |
download | mandoc-a5e125dfa8853574588e217f6f9c6cd903da5dfb.tar.gz mandoc-a5e125dfa8853574588e217f6f9c6cd903da5dfb.tar.zst mandoc-a5e125dfa8853574588e217f6f9c6cd903da5dfb.zip |
discard .Rs head arguments and improve .Rs diagnostics
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.142 2015/02/04 16:38:56 schwarze Exp $ +.\" $Id: mandoc.1,v 1.143 2015/02/04 18:03:47 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -1091,6 +1091,14 @@ macro has no argument, or only one argument and no macro follows on the same input line. This defeats its purpose; in particular, spacing is not suppressed before the text or macros following on the next input line. +.It Sy "empty reference block" +.Pq mdoc +An +.Ic \&Rs +macro is immediately followed by an +.Ic \&Re +macro on the next input line. +Such an empty block does not produce any output. .It Sy "missing -std argument, adding it" .Pq mdoc An @@ -1595,6 +1603,7 @@ An .Ic \&Ek , .Ic \&El , .Ic \&Re , +.Ic \&Rs , or .Ic \&Ud macro, an |