aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/TP/broken.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-09-09 17:01:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-09-09 17:01:10 +0000
commit6d805c41a1ebaced20ab413c14db4fa70c044f2c (patch)
treef813902674ab2ec8945487c148c519880debf090 /regress/man/TP/broken.out_lint
parentcc64a9f0b63e16d12edd76ca35a7e99aa3519fc7 (diff)
downloadmandoc-6d805c41a1ebaced20ab413c14db4fa70c044f2c.tar.gz
mandoc-6d805c41a1ebaced20ab413c14db4fa70c044f2c.tar.zst
mandoc-6d805c41a1ebaced20ab413c14db4fa70c044f2c.zip
Element next-line scopes can nest. Consequently, even when closing
one element next-line scope, the MAN_ELINE flag must not yet be cleared if the parent macro is another element macro having next-line scope, or an assertion failure is caused if all this is wrapped in another macro that has block next-line scope, for example .TP. Bug found in an afl run performed by Jan Schreiber <jes at posteo dot de>.
Diffstat (limited to 'regress/man/TP/broken.out_lint')
-rw-r--r--regress/man/TP/broken.out_lint3
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/man/TP/broken.out_lint b/regress/man/TP/broken.out_lint
index 2539a622..a0b83e81 100644
--- a/regress/man/TP/broken.out_lint
+++ b/regress/man/TP/broken.out_lint
@@ -1,2 +1,5 @@
mandoc: broken.in:11:2: WARNING: line scope broken: RE breaks TP
mandoc: broken.in:16:1: WARNING: skipping blank line in line scope
+mandoc: broken.in:21:2: WARNING: line scope broken: EOF breaks I
+mandoc: broken.in:20:2: WARNING: line scope broken: EOF breaks B
+mandoc: broken.in:19:2: WARNING: line scope broken: EOF breaks TP