aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_macro.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
commit124101cd37698fedd98c6c50582bc4a1da762a8f (patch)
tree914c71a7d5ab9b81e3309d1fee453ed637b66562 /mdoc_macro.c
parenteb23c3ce0ca3852f947adf776def825033852227 (diff)
downloadmandoc-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 'mdoc_macro.c')
0 files changed, 0 insertions, 0 deletions