diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-03 16:58:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-03 16:58:54 +0000 |
commit | 289d7863c034d433321d52e2b4c0e4ea878df0ec (patch) | |
tree | 739f90806bab4c469677497ee8ee1ed5e6bddb15 /mdoc_argv.c | |
parent | bd84fbf4d9f29e27d3b34608e5bc635a50f2b889 (diff) | |
download | mandoc-289d7863c034d433321d52e2b4c0e4ea878df0ec.tar.gz |
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 'mdoc_argv.c')
0 files changed, 0 insertions, 0 deletions