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

Diff for /mandoc/mdoc_man.c between version 1.60 and 1.61

version 1.60, 2014/03/30 19:47:48 version 1.61, 2014/03/30 23:34:32
Line 601  print_node(DECL_ARGS)
Line 601  print_node(DECL_ARGS)
                  */                   */
                 act = manacts + n->tok;                  act = manacts + n->tok;
                 cond = NULL == act->cond || (*act->cond)(meta, n);                  cond = NULL == act->cond || (*act->cond)(meta, n);
                 if (cond && act->pre)                  if (cond && act->pre && ENDBODY_NOT == n->end)
                         do_sub = (*act->pre)(meta, n);                          do_sub = (*act->pre)(meta, n);
         }          }
   
Line 617  print_node(DECL_ARGS)
Line 617  print_node(DECL_ARGS)
         /*          /*
          * Lastly, conditionally run the post-node handler.           * Lastly, conditionally run the post-node handler.
          */           */
           if (MDOC_ENDED & n->flags)
                   return;
   
         if (cond && act->post)          if (cond && act->post)
                 (*act->post)(meta, n);                  (*act->post)(meta, n);
   
           if (ENDBODY_NOT != n->end)
                   n->pending->flags |= MDOC_ENDED;
   
           if (ENDBODY_NOSPACE == n->end)
                   outflags &= ~(MMAN_spc | MMAN_nl);
 }  }
   
 static int  static int
Line 656  post_enc(DECL_ARGS)
Line 665  post_enc(DECL_ARGS)
         suffix = manacts[n->tok].suffix;          suffix = manacts[n->tok].suffix;
         if (NULL == suffix)          if (NULL == suffix)
                 return;                  return;
         outflags &= ~MMAN_spc;          outflags &= ~(MMAN_spc | MMAN_nl);
         print_word(suffix);          print_word(suffix);
 }  }
   

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

CVSweb