diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-02-06 08:28:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-02-06 08:28:05 +0000 |
commit | 78c8cd1b4c93c31904483de44b50c4eee2cf0069 (patch) | |
tree | b5a596a4ad1b3d05bf4b22434a408db9d851f776 /regress | |
parent | be4ca90160180f092bf4c3ba13b390c55602f9b6 (diff) |
better error reporting for .br .fi .nf with arguments
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/man/nf/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/nf/args.out_lint | 2 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/br/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/br/args.out_lint | 1 |
4 files changed, 8 insertions, 4 deletions
diff --git a/regress/usr.bin/mandoc/man/nf/Makefile b/regress/usr.bin/mandoc/man/nf/Makefile index d3989b320c7..3f984661dc1 100644 --- a/regress/usr.bin/mandoc/man/nf/Makefile +++ b/regress/usr.bin/mandoc/man/nf/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.6 2014/07/02 11:42:56 schwarze Exp $ +# $OpenBSD: Makefile,v 1.7 2015/02/06 08:28:04 schwarze Exp $ REGRESS_TARGETS = indent args vert dupe userdef -LINT_TARGETS = dupe +LINT_TARGETS = args dupe .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/man/nf/args.out_lint b/regress/usr.bin/mandoc/man/nf/args.out_lint new file mode 100644 index 00000000000..dc11881aeb6 --- /dev/null +++ b/regress/usr.bin/mandoc/man/nf/args.out_lint @@ -0,0 +1,2 @@ +mandoc: args.in:7:5: ERROR: skipping all arguments: nf arg1 arg2 arg3 +mandoc: args.in:10:5: ERROR: skipping all arguments: fi arg1 arg2 arg3 diff --git a/regress/usr.bin/mandoc/roff/br/Makefile b/regress/usr.bin/mandoc/roff/br/Makefile index 1d2da255602..4d383beed0d 100644 --- a/regress/usr.bin/mandoc/roff/br/Makefile +++ b/regress/usr.bin/mandoc/roff/br/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:46 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2015/02/06 08:28:04 schwarze Exp $ -REGRESS_TARGETS=args +REGRESS_TARGETS = args +LINT_TARGETS = args .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/roff/br/args.out_lint b/regress/usr.bin/mandoc/roff/br/args.out_lint new file mode 100644 index 00000000000..e9a03ad5922 --- /dev/null +++ b/regress/usr.bin/mandoc/roff/br/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:7:5: ERROR: skipping all arguments: br arg1 arg2 arg3 |