[BACK]Return to validate.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/validate.c between version 1.31 and 1.32

version 1.31, 2009/01/16 11:50:54 version 1.32, 2009/01/16 12:23:25
Line 306  pre_display(struct mdoc *mdoc, struct mdoc_node *node)
Line 306  pre_display(struct mdoc *mdoc, struct mdoc_node *node)
         if (MDOC_BLOCK != node->type)          if (MDOC_BLOCK != node->type)
                 return(1);                  return(1);
   
         for (n = mdoc->last; n; n = n->parent)          assert(mdoc->last);
           for (n = mdoc->last->parent; n; n = n->parent)
                 if (MDOC_BLOCK == n->type)                  if (MDOC_BLOCK == n->type)
                         if (MDOC_Bd == n->tok)                          if (MDOC_Bd == n->tok)
                                 break;                                  break;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

CVSweb