summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/roff
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/mandoc/roff')
-rw-r--r--regress/usr.bin/mandoc/roff/de/escname.in4
-rw-r--r--regress/usr.bin/mandoc/roff/de/escname.out_lint1
2 files changed, 3 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/roff/de/escname.in b/regress/usr.bin/mandoc/roff/de/escname.in
index a75a2679551..da6d885fe71 100644
--- a/regress/usr.bin/mandoc/roff/de/escname.in
+++ b/regress/usr.bin/mandoc/roff/de/escname.in
@@ -34,9 +34,9 @@ Remove all but second:
.first\\second
.Pp
macro seperated from argument by an escape sequence:
-.de witharg
+.de witharg end4 excess arguments
.Dq \\$1
-..
+.end4 tail argument
.witharg\(enargument
.Pp
.de\e
diff --git a/regress/usr.bin/mandoc/roff/de/escname.out_lint b/regress/usr.bin/mandoc/roff/de/escname.out_lint
index 2eecd35d7e0..fa41ec2e606 100644
--- a/regress/usr.bin/mandoc/roff/de/escname.out_lint
+++ b/regress/usr.bin/mandoc/roff/de/escname.out_lint
@@ -2,6 +2,7 @@ mandoc: escname.in:21:1: ERROR: escaped character not allowed in a name
mandoc: escname.in:31:19: ERROR: escaped character not allowed in a name
mandoc: escname.in:32:2: ERROR: skipping unknown macro: .first
mandoc: escname.in:34:2: ERROR: skipping unknown macro: .first\\second
+mandoc: escname.in:37:5: ERROR: skipping excess arguments: .de ... excess arguments
mandoc: escname.in:40:1: ERROR: escaped character not allowed in a name
mandoc: escname.in:42:1: ERROR: escaped character not allowed in a name
mandoc: escname.in:42:1: WARNING: skipping empty request: de