[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.9 and 1.10

version 1.9, 2011/10/24 21:47:59 version 1.10, 2012/07/07 13:37:42
Line 290  print_node(DECL_ARGS)
Line 290  print_node(DECL_ARGS)
          * This makes the page structure be more consistent.           * This makes the page structure be more consistent.
          */           */
         prev = n->prev ? n->prev : n->parent;          prev = n->prev ? n->prev : n->parent;
         if (prev && prev->line < n->line)          if (prev && prev->line < n->line && MDOC_Ns != prev->tok)
                 mm->need_nl = 1;                  mm->need_nl = 1;
   
         act = NULL;          act = NULL;
Line 379  post_enc(DECL_ARGS)
Line 379  post_enc(DECL_ARGS)
                 return;                  return;
         mm->need_space = 0;          mm->need_space = 0;
         print_word(mm, suffix);          print_word(mm, suffix);
           if (MDOC_Fl == n->tok && 0 == n->nchild)
                   mm->need_space = 0;
 }  }
   
 /*  /*
Line 544  pre_nm(DECL_ARGS)
Line 546  pre_nm(DECL_ARGS)
   
         if (MDOC_ELEM != n->type && MDOC_HEAD != n->type)          if (MDOC_ELEM != n->type && MDOC_HEAD != n->type)
                 return(1);                  return(1);
           if (MDOC_SYNPRETTY & n->flags) {
                   mm->need_nl = 1;
                   print_word(mm, ".br");
                   mm->need_nl = 1;
           }
         print_word(mm, "\\fB");          print_word(mm, "\\fB");
         mm->need_space = 0;          mm->need_space = 0;
         if (NULL == n->child)          if (NULL == n->child)
Line 586  pre_pp(DECL_ARGS)
Line 593  pre_pp(DECL_ARGS)
         else          else
                 print_word(mm, ".PP");                  print_word(mm, ".PP");
         mm->need_nl = 1;          mm->need_nl = 1;
         return(1);          return(MDOC_Rs == n->tok);
 }  }
   
 static int  static int

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVSweb