summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-04 18:03:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-04 18:03:47 +0000
commit8f9b15dd975dad4bc924d043c2869fa1edfaa1b0 (patch)
treed8ba17e383559d88a775b62283d9b479d9ab7dcb /mandoc.1
parent4b11a0d9e89857f2dca95de899e7a6a4115e4c1a (diff)
downloadmandoc-8f9b15dd975dad4bc924d043c2869fa1edfaa1b0.tar.gz
discard .Rs head arguments and improve .Rs diagnostics
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.19
1 files changed, 9 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index 9d212b72..6ab59a03 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -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