diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-01 16:47:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-01 16:47:39 +0000 |
commit | 01c799579c9d64d32016fa6127a74e2d864fd9a9 (patch) | |
tree | 6d6a948967c31619c4461f23c59150f85ae5171e /test-strcasestr.c | |
parent | 3b15b25a7deff6f634e8233f6f8d96485308c592 (diff) | |
download | mandoc-01c799579c9d64d32016fa6127a74e2d864fd9a9.tar.gz |
The function rew_sub() tries to rewind any all all kinds of blocks
and elements under any and all circumstances, even handling some
bad block nesting now and then. Little surprisingly, this ends up
in excessive complexity and has caused many bugs in the past.
Start to slowly disentangle this mess by replacing calls to rew_sub()
immediately following mdoc_head_alloc() by the much simpler rew_last().
Gets rid of the first two rew_sub() calls out of twenty.
No functional change.
Diffstat (limited to 'test-strcasestr.c')
0 files changed, 0 insertions, 0 deletions