diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-30 19:30:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-30 19:30:38 +0000 |
commit | 2c507cce96b600e9c7260ee1c0b8bf1330cd3cff (patch) | |
tree | b677c302e456a9fad4b1eb508ee3415bc4aa1660 /regress/mdoc | |
parent | 3d8bd1f3fd3008bd932346d3e5435b63f7f28972 (diff) | |
download | mandoc-2c507cce96b600e9c7260ee1c0b8bf1330cd3cff.tar.gz |
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/mdoc')
-rw-r--r-- | regress/mdoc/Tn/noarg.out_lint | 1 | ||||
-rw-r--r-- | regress/mdoc/Ud/arg.out_lint | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/regress/mdoc/Tn/noarg.out_lint b/regress/mdoc/Tn/noarg.out_lint index 74e0b6fc..340a3502 100644 --- a/regress/mdoc/Tn/noarg.out_lint +++ b/regress/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/mdoc/Ud/arg.out_lint b/regress/mdoc/Ud/arg.out_lint index 854845cd..eac1710f 100644 --- a/regress/mdoc/Ud/arg.out_lint +++ b/regress/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 |