diff options
author | 2011-12-03 16:58:54 +0000 | |
---|---|---|
committer | 2011-12-03 16:58:54 +0000 | |
commit | 124101cd37698fedd98c6c50582bc4a1da762a8f (patch) | |
tree | 914c71a7d5ab9b81e3309d1fee453ed637b66562 /libman.h | |
parent | eb23c3ce0ca3852f947adf776def825033852227 (diff) | |
download | mandoc-124101cd37698fedd98c6c50582bc4a1da762a8f.tar.gz mandoc-124101cd37698fedd98c6c50582bc4a1da762a8f.tar.zst mandoc-124101cd37698fedd98c6c50582bc4a1da762a8f.zip |
When processing .Sh HEAD, as soon as we know which section this is,
fix up the section attributes of the HEAD, it's parent BLOCK, and
all its (text) children. This is required because the section
attributes get set when each node is allocated, i.e. before processing
the content of the node itself. Thus, the listed nodes got the section
attribute of the preceding section. No need to fix up the BODY, all
is fine there already.
Found while implementing TYPE_Sh for mandocdb(8).
OK and comment requested by kristaps@.
Diffstat (limited to 'libman.h')
0 files changed, 0 insertions, 0 deletions