CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2011/11/16 12:47:58

Modified files:
        usr.bin/mandoc : mdoc_validate.c 

Log message:
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).

Reply via email to