diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-06-18 16:18:04 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-06-18 16:18:04 +0000 |
commit | 1319b92b1f8192d5db7ce4e0e07f0b617dc9e1ea (patch) | |
tree | 9b07c52f53dde27f9dc2b31252e56b0f7db55ee7 /mdoc_html.c | |
parent | 1936f3f811dbbd2a8a94c22d8f57901f399e7ec5 (diff) | |
download | mandoc-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 'mdoc_html.c')
0 files changed, 0 insertions, 0 deletions