[BACK]Return to mdoc_validate.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_validate.c between version 1.99 and 1.100

version 1.99, 2011/12/02 01:45:43 version 1.100, 2011/12/03 22:47:27
Line 1856 
Line 1856 
         /* Mark our last section. */          /* Mark our last section. */
   
         mdoc->lastsec = sec;          mdoc->lastsec = sec;
   
           /*
            * Set the section attribute for the current HEAD, for its
            * parent BLOCK, and for the HEAD children; the latter can
            * only be TEXT nodes, so no recursion is needed.
            * For other blocks and elements, including .Sh BODY, this is
            * done when allocating the node data structures, but for .Sh
            * BLOCK and HEAD, the section is still unknown at that time.
            */
   
         mdoc->last->parent->sec = sec;          mdoc->last->parent->sec = sec;
         mdoc->last->sec = sec;          mdoc->last->sec = sec;
         for (n = mdoc->last->child; n; n = n->next)          for (n = mdoc->last->child; n; n = n->next)

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100