diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-24 17:40:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-24 17:40:22 +0000 |
commit | 83f2e011a49d87a26454dc2158dbfb8c5ff24925 (patch) | |
tree | a5980eb00a6869428fa2ad1c38e683c2c35c1eb5 /regress/char/N | |
parent | 43f9fbf1c67bd7237ef7670c2fd3019a4bbc84f0 (diff) | |
download | mandoc-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/char/N')
0 files changed, 0 insertions, 0 deletions