[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.112 and 1.113

version 1.112, 2017/05/05 13:17:55 version 1.113, 2017/05/05 15:17:32
Line 73  static void   post_nm(DECL_ARGS);
Line 73  static void   post_nm(DECL_ARGS);
 static  void      post_percent(DECL_ARGS);  static  void      post_percent(DECL_ARGS);
 static  void      post_pf(DECL_ARGS);  static  void      post_pf(DECL_ARGS);
 static  void      post_sect(DECL_ARGS);  static  void      post_sect(DECL_ARGS);
 static  void      post_sp(DECL_ARGS);  
 static  void      post_vt(DECL_ARGS);  static  void      post_vt(DECL_ARGS);
 static  int       pre__t(DECL_ARGS);  static  int       pre__t(DECL_ARGS);
 static  int       pre_an(DECL_ARGS);  static  int       pre_an(DECL_ARGS);
Line 109  static int   pre_ns(DECL_ARGS);
Line 108  static int   pre_ns(DECL_ARGS);
 static  int       pre_pp(DECL_ARGS);  static  int       pre_pp(DECL_ARGS);
 static  int       pre_rs(DECL_ARGS);  static  int       pre_rs(DECL_ARGS);
 static  int       pre_sm(DECL_ARGS);  static  int       pre_sm(DECL_ARGS);
 static  int       pre_sp(DECL_ARGS);  static  void      pre_sp(DECL_ARGS);
 static  int       pre_sect(DECL_ARGS);  static  int       pre_sect(DECL_ARGS);
 static  int       pre_sy(DECL_ARGS);  static  int       pre_sy(DECL_ARGS);
 static  void      pre_syn(const struct roff_node *);  static  void      pre_syn(const struct roff_node *);
Line 128  static const void_fp roff_manacts[ROFF_MAX] = {
Line 127  static const void_fp roff_manacts[ROFF_MAX] = {
         pre_br,          pre_br,
         pre_ft,          pre_ft,
         pre_ll,          pre_ll,
           pre_sp,
 };  };
   
 static  const struct manact __manacts[MDOC_MAX - MDOC_Dd] = {  static  const struct manact __manacts[MDOC_MAX - MDOC_Dd] = {
Line 249  static const struct manact __manacts[MDOC_MAX - MDOC_D
Line 249  static const struct manact __manacts[MDOC_MAX - MDOC_D
         { cond_body, pre_en, post_en, NULL, NULL }, /* En */          { cond_body, pre_en, post_en, NULL, NULL }, /* En */
         { NULL, NULL, NULL, NULL, NULL }, /* Dx */          { NULL, NULL, NULL, NULL, NULL }, /* Dx */
         { NULL, NULL, post_percent, NULL, NULL }, /* %Q */          { NULL, NULL, post_percent, NULL, NULL }, /* %Q */
         { NULL, pre_sp, post_sp, NULL, NULL }, /* sp */  
         { NULL, NULL, post_percent, NULL, NULL }, /* %U */          { NULL, NULL, post_percent, NULL, NULL }, /* %U */
         { NULL, NULL, NULL, NULL, NULL }, /* Ta */          { NULL, NULL, NULL, NULL, NULL }, /* Ta */
 };  };
Line 1694  pre_sm(DECL_ARGS)
Line 1693  pre_sm(DECL_ARGS)
         return 0;          return 0;
 }  }
   
 static int  static void
 pre_sp(DECL_ARGS)  pre_sp(DECL_ARGS)
 {  {
           if (outflags & MMAN_PP) {
         if (MMAN_PP & outflags) {  
                 outflags &= ~MMAN_PP;                  outflags &= ~MMAN_PP;
                 print_line(".PP", 0);                  print_line(".PP", 0);
         } else          } else {
                 print_line(".sp", 0);                  print_line(".sp", 0);
         return 1;                  if (n->child != NULL)
 }                          print_word(n->child->string);
           }
 static void  
 post_sp(DECL_ARGS)  
 {  
   
         outflags |= MMAN_nl;          outflags |= MMAN_nl;
 }  }
   

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

CVSweb