summaryrefslogtreecommitdiffstats
path: root/test-getsubopt.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-12-03 16:58:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-12-03 16:58:54 +0000
commit289d7863c034d433321d52e2b4c0e4ea878df0ec (patch)
tree739f90806bab4c469677497ee8ee1ed5e6bddb15 /test-getsubopt.c
parentbd84fbf4d9f29e27d3b34608e5bc635a50f2b889 (diff)
downloadmandoc-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 'test-getsubopt.c')
0 files changed, 0 insertions, 0 deletions