aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/B/nest.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-28 10:26:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-28 10:26:37 +0000
commit4739b39372b31b9276373673e199b90e33fb70a8 (patch)
treeff5870d41a82b125632e2b5e08ef6f1c3afcbd0e /regress/man/B/nest.out_ascii
parent25152678ffdb7653b13569fefe86cb617d1e0532 (diff)
downloadmandoc-4739b39372b31b9276373673e199b90e33fb70a8.tar.gz
mandoc-4739b39372b31b9276373673e199b90e33fb70a8.tar.zst
mandoc-4739b39372b31b9276373673e199b90e33fb70a8.zip
Element next-line scopes may nest, so man_breakscope() may have to
break multiple element next-line scopes at the same time, similar to what man_descope() already does for unconditional rewinding. This fixes an assertion failure that tb@ found with afl(1), caused by .SH .I .I .BI and similar sequences of macros without arguments.
Diffstat (limited to 'regress/man/B/nest.out_ascii')
-rw-r--r--regress/man/B/nest.out_ascii12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/man/B/nest.out_ascii b/regress/man/B/nest.out_ascii
new file mode 100644
index 00000000..30aa897d
--- /dev/null
+++ b/regress/man/B/nest.out_ascii
@@ -0,0 +1,12 @@
+B-NEST(1) General Commands Manual B-NEST(1)
+
+NNAAMMEE
+ B-nest - nested next-line scopes
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text bboolldd tteexxtt back to roman _i_t_a_l_i_croman
+
+section_h_e_a_d_e_r
+ final text
+
+OpenBSD April 28, 2022 B-NEST(1)