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 | 274cb80b28fcd07c9ab6a12e1f9de6639c43a503 (patch) | |
tree | 6fbe23d21959d510a66c71194ae2817911713d25 /regress/man | |
parent | d7e5a98bddb2856e1f16c3d97272b73d70c93a13 (diff) | |
download | mandoc-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 'regress/man')
0 files changed, 0 insertions, 0 deletions