summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-05-30 19:29:32 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-05-30 19:29:32 +0000
commit821870bd1cd6836e81163d6bf39b7ebb53d4aca2 (patch)
tree312a8a4417cf0cc64ca947c92deed1dd7c42fbf7 /regress/usr.bin/mandoc/mdoc
parente69d9e49296b24aa15ef3dce4d5ad3e6b3ab0b9e (diff)
STYLE message about useless macros we don't want (Bt Tn Ud);
not a WARNING because they don't endanger portability
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint1
-rw-r--r--regress/usr.bin/mandoc/mdoc/Ud/arg.out_lint6
2 files changed, 7 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint
index 74e0b6fc842..340a3502df2 100644
--- a/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint
+++ b/regress/usr.bin/mandoc/mdoc/Tn/noarg.out_lint
@@ -1 +1,2 @@
mandoc: noarg.in:11:2: WARNING: skipping empty macro: Tn
+mandoc: noarg.in:9:2: STYLE: useless macro: Tn
diff --git a/regress/usr.bin/mandoc/mdoc/Ud/arg.out_lint b/regress/usr.bin/mandoc/mdoc/Ud/arg.out_lint
index 854845cdd40..eac1710faf6 100644
--- a/regress/usr.bin/mandoc/mdoc/Ud/arg.out_lint
+++ b/regress/usr.bin/mandoc/mdoc/Ud/arg.out_lint
@@ -1,4 +1,10 @@
+mandoc: arg.in:9:2: STYLE: useless macro: Ud
+mandoc: arg.in:11:2: STYLE: useless macro: Bt
+mandoc: arg.in:15:2: STYLE: useless macro: Ud
mandoc: arg.in:15:2: ERROR: skipping all arguments: Ud bar
+mandoc: arg.in:16:2: STYLE: useless macro: Bt
mandoc: arg.in:16:2: ERROR: skipping all arguments: Bt foo
+mandoc: arg.in:17:2: STYLE: useless macro: Ud
mandoc: arg.in:17:2: ERROR: skipping all arguments: Ud one
+mandoc: arg.in:18:2: STYLE: useless macro: Bt
mandoc: arg.in:18:2: ERROR: skipping all arguments: Bt one