summaryrefslogtreecommitdiffstats
path: root/roff.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
commit1319b92b1f8192d5db7ce4e0e07f0b617dc9e1ea (patch)
tree9b07c52f53dde27f9dc2b31252e56b0f7db55ee7 /roff.c
parent1936f3f811dbbd2a8a94c22d8f57901f399e7ec5 (diff)
downloadmandoc-1319b92b1f8192d5db7ce4e0e07f0b617dc9e1ea.tar.gz
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 'roff.c')
0 files changed, 0 insertions, 0 deletions