summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-24 01:58:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-24 01:58:33 +0000
commit991c1bddc9c3575802d343811e28c260b842dc84 (patch)
tree5aa08b22b4a4ceb0455bb8a67cfc91a2e0a1cfb9 /mandoc.1
parent4d5758c224d49c1ba03a52b3d534ecba57dab18d (diff)
downloadmandoc-991c1bddc9c3575802d343811e28c260b842dc84.tar.gz
Support .RE with an argument; needed for audio/pms(1).
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.117
1 files changed, 15 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 860a9058..5e079b25 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1369,6 +1369,16 @@ right delimiter or closing brace, or the end of an equation, table, or
.Xr roff 7
conditional request is encountered but no matching block is open.
The offending request or macro is discarded.
+.It Sy "fewer RS blocks open, skipping"
+.Pq man
+The
+.Ic \&RE
+macro is invoked with an argument, but less than the specified number of
+.Ic \&RS
+blocks is open.
+The
+.Ic \&RE
+macro is discarded.
.It Sy "inserting missing end of block"
.Pq mdoc , tbl
Various
@@ -1537,10 +1547,13 @@ macro, or a
block closing request is invoked with at least one argument.
All arguments are ignored.
.It Sy "skipping excess arguments"
-.Pq mdoc , roff
+.Pq mdoc , man , roff
The
.Ic \&Bf
-macro is invoked with more than one argument, or a request of the
+macro is invoked with more than one argument, the
+.Ic \&RE
+macro is invoked with more than one argument
+or with a non-integer argument, or a request of the
.Ic \&de
family is invoked with more than two arguments.
The excess arguments are ignored.