summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-27 23:35:04 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-27 23:35:04 +0000
commit82f4aeb1e9f993fd251bd3144508d1cf89164f14 (patch)
tree040113385d3976a538173dd5f12d466fff52ce2d /regress/usr.bin/mandoc/mdoc
parenta71f24e077b7f1e1d0e7b4cec3eaa62f97142ec7 (diff)
Downgrade .Bd -file from FATAL to ERROR.
Since this was the last remaining FATAL error in this area, this change will allow major simplifications in the mdoc(7) parser.
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bd/badargs.in15
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bd/badargs.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bd/badargs.out_lint3
3 files changed, 27 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bd/badargs.in b/regress/usr.bin/mandoc/mdoc/Bd/badargs.in
index 95d5b3cef5e..0dbd2931160 100644
--- a/regress/usr.bin/mandoc/mdoc/Bd/badargs.in
+++ b/regress/usr.bin/mandoc/mdoc/Bd/badargs.in
@@ -29,3 +29,18 @@ unfilled
unfilled
ragged
.Ed
+file /dev/null:
+.Bd -ragged -file /dev/null -offset indent
+ragged
+offset indent
+.Ed
+trailing -file:
+.Bd -ragged -offset indent -file
+ragged
+offset indent
+.Ed
+missing -file argument:
+.Bd -ragged -offset indent -file -compact
+ragged
+offset indent
+.Ed
diff --git a/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_ascii b/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_ascii
index b690d28e570..8cfd38e5f58 100644
--- a/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_ascii
@@ -16,5 +16,14 @@ DDEESSCCRRIIPPTTIIOONN
ragged unfilled
unfilled
ragged
+ file /dev/null:
+
+ ragged offset indent
+ trailing -file:
+
+ ragged offset indent
+ missing -file argument:
+
+ ragged offset indent
OpenBSD July 5, 2014 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_lint b/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_lint
index 2d45ea2a173..38bd1135d8e 100644
--- a/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_lint
+++ b/regress/usr.bin/mandoc/mdoc/Bd/badargs.out_lint
@@ -5,3 +5,6 @@ mandoc: badargs.in:14:51: WARNING: duplicate argument: Bd -offset 6n
mandoc: badargs.in:19:2: WARNING: missing display type, using -ragged: Bd
mandoc: badargs.in:24:2: WARNING: skipping duplicate display type: Bd -unfilled
mandoc: badargs.in:28:2: WARNING: skipping duplicate display type: Bd -ragged
+mandoc: badargs.in:33:2: ERROR: NOT IMPLEMENTED: Bd -file
+mandoc: badargs.in:38:2: ERROR: NOT IMPLEMENTED: Bd -file
+mandoc: badargs.in:43:2: ERROR: NOT IMPLEMENTED: Bd -file