aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-30 11:32:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-30 11:32:42 +0000
commit321d39d1b0b5e3f541847788641246b8724cd4da (patch)
treef80d9ab6d4136a174e4cc8c8ead82266709e74b3 /roff.h
parentb3dd815817ebf3e3bb6e95b8e8b9cc6ed2c64ff8 (diff)
downloadmandoc-321d39d1b0b5e3f541847788641246b8724cd4da.tar.gz
mandoc-321d39d1b0b5e3f541847788641246b8724cd4da.tar.zst
mandoc-321d39d1b0b5e3f541847788641246b8724cd4da.zip
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 'roff.h')
0 files changed, 0 insertions, 0 deletions