diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-28 10:26:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-28 10:26:37 +0000 |
commit | ae95bf4c9468b176445f464bec4255eb69978cfa (patch) | |
tree | ad0231e96a50139b4b21fbee7a8829e5846f11a4 /regress/man/B/nest.in | |
parent | b4c6ee8b16f890a5c4514c24d3fa9ee27cb0efe0 (diff) | |
download | mandoc-ae95bf4c9468b176445f464bec4255eb69978cfa.tar.gz |
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.in')
-rw-r--r-- | regress/man/B/nest.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/regress/man/B/nest.in b/regress/man/B/nest.in new file mode 100644 index 00000000..5523b4a5 --- /dev/null +++ b/regress/man/B/nest.in @@ -0,0 +1,20 @@ +.\" $OpenBSD: nest.in,v 1.2 2022/04/28 10:23:31 schwarze Exp $ +.TH B-NEST 1 "April 28, 2022" +.SH NAME +B-nest \- nested next-line scopes +.SH DESCRIPTION +initial text +.B +.SM +bold text +back to roman +.B +.SM +.IR italic roman +.B +.SM +.SH +.B +.B +.RI section header +final text |