diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-09-09 17:01:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-09-09 17:01:10 +0000 |
commit | 6d805c41a1ebaced20ab413c14db4fa70c044f2c (patch) | |
tree | f813902674ab2ec8945487c148c519880debf090 /regress/man/TP/macrotag.out_ascii | |
parent | cc64a9f0b63e16d12edd76ca35a7e99aa3519fc7 (diff) | |
download | mandoc-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/macrotag.out_ascii')
-rw-r--r-- | regress/man/TP/macrotag.out_ascii | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/man/TP/macrotag.out_ascii b/regress/man/TP/macrotag.out_ascii index e466adcf..97b604a8 100644 --- a/regress/man/TP/macrotag.out_ascii +++ b/regress/man/TP/macrotag.out_ascii @@ -3,7 +3,7 @@ TP-MACROTAG(1) General Commands Manual TP-MACROTAG(1) NNAAMMEE - TP-macrotag - macro in the head of a tagged paragraph + TP-macrotag - macros in the head of tagged paragraphs DDEESSCCRRIIPPTTIIOONN regular text @@ -11,8 +11,14 @@ DDEESSCCRRIIPPTTIIOONN lloonnggiinnddeenntt indented text + _n_e_x_t_-_l_i_n_e + indented text + + bboolldd ssmmaallll + indented text + regular text -OpenBSD September 20, 2011 TP-MACROTAG(1) +OpenBSD September 9, 2020 TP-MACROTAG(1) |