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

Diff for /src/usr.bin/mandoc/mdoc_term.c between version 1.90 and 1.91

version 1.90, 2010/06/27 01:24:02 version 1.91, 2010/06/27 17:49:58
Line 2104 
Line 2104 
 termp_bk_pre(DECL_ARGS)  termp_bk_pre(DECL_ARGS)
 {  {
   
         p->flags |= TERMP_PREKEEP;          switch (n->type) {
         return(1);          case (MDOC_BLOCK):
                   return(1);
           case (MDOC_HEAD):
                   return(0);
           case (MDOC_BODY):
                   p->flags |= TERMP_PREKEEP;
                   return(1);
           default:
                   abort();
           }
 }  }
   
   
Line 2114 
Line 2123 
 termp_bk_post(DECL_ARGS)  termp_bk_post(DECL_ARGS)
 {  {
   
         p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP);          if (MDOC_BODY == n->type)
                   p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP);
 }  }
   
 /* ARGSUSED */  /* ARGSUSED */

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91