summaryrefslogtreecommitdiffstats
path: root/man_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-16 17:55:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-16 17:55:39 +0000
commit32108324613edf7b16adab9f3f5ebfc4afda1778 (patch)
treedac072dbc543ed85ad7d7a75f73ad0b33606e480 /man_macro.c
parentb1cb710d98e936ddd40b4e26194b8def7d042c5a (diff)
downloadmandoc-32108324613edf7b16adab9f3f5ebfc4afda1778.tar.gz
Instead of a series of hard-coded strcmps, make argv_a2arg() iterate
over an array of possible argument types, hooking in to mdoc_argnames[]. This knocks off bytes for the duplicated strings and cleans up code readability.
Diffstat (limited to 'man_macro.c')
0 files changed, 0 insertions, 0 deletions