summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bd/badargs.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-24 17:40:22 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-24 17:40:22 +0000
commit83f2e011a49d87a26454dc2158dbfb8c5ff24925 (patch)
treea5980eb00a6869428fa2ad1c38e683c2c35c1eb5 /regress/mdoc/Bd/badargs.in
parent43f9fbf1c67bd7237ef7670c2fd3019a4bbc84f0 (diff)
downloadmandoc-83f2e011a49d87a26454dc2158dbfb8c5ff24925.tar.gz
When we open a new .while loop, let's not attempt to close out
another enclosing .while loop at the same time. Instead, postpone the closing until the next iteration of ROFF_RERUN. This prevents one-line constructions like ".while 0 .while 0 something" and ".while rx .while rx .rr x" (which admittedly aren't particularly useful) from dying of abort(3), which was a bug tb@ found with afl(1).
Diffstat (limited to 'regress/mdoc/Bd/badargs.in')
0 files changed, 0 insertions, 0 deletions