aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-06-18 16:18:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-06-18 16:18:04 +0000
commit274cb80b28fcd07c9ab6a12e1f9de6639c43a503 (patch)
tree6fbe23d21959d510a66c71194ae2817911713d25 /chars.c
parentd7e5a98bddb2856e1f16c3d97272b73d70c93a13 (diff)
downloadmandoc-274cb80b28fcd07c9ab6a12e1f9de6639c43a503.tar.gz
mandoc-274cb80b28fcd07c9ab6a12e1f9de6639c43a503.tar.zst
mandoc-274cb80b28fcd07c9ab6a12e1f9de6639c43a503.zip
Fix an assertion failure raised by the following interesting scenario: a
auto-opened `It' (i.e., a column list with a free-text first line) with leading spaces in the line triggering assertion when searching for arguments. This led to a fix giving a nice performance speed-ups (a few percent, with some quick trials): the search for flags immediately exits if the macro has no flags, instead of having to first parse the leading word then look it up. I also cleaned up the argv parsing stuff a little bit and added more documentation. This comes from a TODO by joerg@.
Diffstat (limited to 'chars.c')
0 files changed, 0 insertions, 0 deletions