[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.84 and 1.86

version 1.84, 2015/02/01 23:10:35 version 1.86, 2015/02/11 14:15:12
Line 1140  pre_eo(DECL_ARGS)
Line 1140  pre_eo(DECL_ARGS)
             n->child->end != ENDBODY_NOT)              n->child->end != ENDBODY_NOT)
                 print_word("\\&");                  print_word("\\&");
         else if (n->end != ENDBODY_NOT ? n->child != NULL :          else if (n->end != ENDBODY_NOT ? n->child != NULL :
             n->parent->head->child != NULL &&              n->parent->head->child != NULL && (n->child != NULL ||
             (n->parent->body->child != NULL ||              (n->parent->tail != NULL && n->parent->tail->child != NULL)))
              n->parent->tail->child != NULL))  
                 outflags &= ~(MMAN_spc | MMAN_nl);                  outflags &= ~(MMAN_spc | MMAN_nl);
         return(1);          return(1);
 }  }
Line 1284  pre_fo(DECL_ARGS)
Line 1283  pre_fo(DECL_ARGS)
                 pre_syn(n);                  pre_syn(n);
                 break;                  break;
         case MDOC_HEAD:          case MDOC_HEAD:
                   if (n->child == NULL)
                           return(0);
                 if (MDOC_SYNPRETTY & n->flags)                  if (MDOC_SYNPRETTY & n->flags)
                         print_block(".HP 4n", MMAN_nl);                          print_block(".HP 4n", MMAN_nl);
                 font_push('B');                  font_push('B');
                 break;                  break;
         case MDOC_BODY:          case MDOC_BODY:
                 outflags &= ~MMAN_spc;                  outflags &= ~(MMAN_spc | MMAN_nl);
                 print_word("(");                  print_word("(");
                 outflags &= ~MMAN_spc;                  outflags &= ~MMAN_spc;
                 break;                  break;
Line 1305  post_fo(DECL_ARGS)
Line 1306  post_fo(DECL_ARGS)
   
         switch (n->type) {          switch (n->type) {
         case MDOC_HEAD:          case MDOC_HEAD:
                 font_pop();                  if (n->child != NULL)
                           font_pop();
                 break;                  break;
         case MDOC_BODY:          case MDOC_BODY:
                 post_fn(meta, n);                  post_fn(meta, n);

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.86

CVSweb