diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-02 20:18:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-02 20:18:43 +0000 |
commit | e7f17f11387e6268e11db031b45f8ce73bcadb67 (patch) | |
tree | aedfe68534ec0b8135861572ca0d00c148bb784c /regress/usr.bin/mandoc/mdoc/Ad | |
parent | dc0bdce4b544aa493fd4b6572810467a95ee79c5 (diff) |
Improve and test the messages about empty macros,
in particular reporting the macro names involved.
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Ad')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ad/Makefile | 3 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ad/noarg.out_lint | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Ad/Makefile b/regress/usr.bin/mandoc/mdoc/Ad/Makefile index 24e03a34e5c..1be2a84aeb4 100644 --- a/regress/usr.bin/mandoc/mdoc/Ad/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Ad/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ +# $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $ REGRESS_TARGETS = noarg font +LINT_TARGETS = noarg .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_lint new file mode 100644 index 00000000000..180985aa919 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ad/noarg.out_lint @@ -0,0 +1 @@ +mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ad |