diff options
author | 2014-11-29 03:37:44 +0000 | |
---|---|---|
committer | 2014-11-29 03:37:44 +0000 | |
commit | 51e313e588be7d0035542c2c7b1fb7fbbe768e34 (patch) | |
tree | 5893269576d9c6b09b0002a68c141f44de14b641 /man_html.c | |
parent | aaa501aed947d338340f598a6c435126af70b9a4 (diff) | |
download | mandoc-51e313e588be7d0035542c2c7b1fb7fbbe768e34.tar.gz mandoc-51e313e588be7d0035542c2c7b1fb7fbbe768e34.tar.zst mandoc-51e313e588be7d0035542c2c7b1fb7fbbe768e34.zip |
Provide a helper function macro_or_word() and use it to prune the
same chunk of argument parsing code out of five of the eight callback
functions. The other three have too much special handling to
participate.
As a bonus, let lookup() and mdoc_args() deal with line macros and
retire the lookup_raw() helper and the mdoc_zargs() internal interface
function.
No functional change, minus 40 lines of code.
Diffstat (limited to 'man_html.c')
0 files changed, 0 insertions, 0 deletions