diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-30 11:32:42 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-30 11:32:42 +0000 |
commit | 48ea36cd719fe9e1d2b8360d426a8ac9003439af (patch) | |
tree | ffccfca70cdf0b5b82ad4133cf66c734dbb8e4e4 /mandoc_ohash.c | |
parent | c0667bb0674363961e21650dd6fa239e4696d039 (diff) | |
download | mandoc-48ea36cd719fe9e1d2b8360d426a8ac9003439af.tar.gz |
Refactor the handler function roff_block_sub() for clarity and simplicity.
1. Do not needlessly access the function pointer table roffs[].
Instead, simply call the block closing function directly.
2. Sort code: handle both cases of block closing at the beginning
of the function rather than one at the beginning and one at the end.
3. Trim excessive, partially repetitive and obvious comments, also
making the comments considerably more precise.
No functional change.
Diffstat (limited to 'mandoc_ohash.c')
0 files changed, 0 insertions, 0 deletions