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

Diff for /mandoc/mdoc_term.c between version 1.171 and 1.172

version 1.171, 2010/07/04 22:04:04 version 1.172, 2010/07/06 10:54:05
Line 330  print_mdoc_node(DECL_ARGS)
Line 330  print_mdoc_node(DECL_ARGS)
         else if (termacts[n->tok].pre && ENDBODY_NOT == n->end)          else if (termacts[n->tok].pre && ENDBODY_NOT == n->end)
                 chld = (*termacts[n->tok].pre)(p, &npair, m, n);                  chld = (*termacts[n->tok].pre)(p, &npair, m, n);
   
           /*
            * Keeps only work until the end of a line.  If a keep was
            * invoked in a prior line, revert it to PREKEEP.
            */
   
           if (TERMP_KEEP & p->flags) {
                   if (n->prev && n->prev->line != n->line) {
                           p->flags &= ~TERMP_KEEP;
                           p->flags |= TERMP_PREKEEP;
                   } else if (NULL == n->prev) {
                           if (n->parent && n->parent->line != n->line) {
                                   p->flags &= ~TERMP_KEEP;
                                   p->flags |= TERMP_PREKEEP;
                           }
                   }
           }
   
         if (chld && n->child)          if (chld && n->child)
                 print_mdoc_nodelist(p, &npair, m, n->child);                  print_mdoc_nodelist(p, &npair, m, n->child);
   

Legend:
Removed from v.1.171  
changed lines
  Added in v.1.172

CVSweb