[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.110 and 1.111

version 1.110, 2017/05/04 17:48:29 version 1.111, 2017/05/05 02:06:19
Line 94  static int   pre_fl(DECL_ARGS);
Line 94  static int   pre_fl(DECL_ARGS);
 static  int       pre_fn(DECL_ARGS);  static  int       pre_fn(DECL_ARGS);
 static  int       pre_fo(DECL_ARGS);  static  int       pre_fo(DECL_ARGS);
 static  int       pre_ft(DECL_ARGS);  static  int       pre_ft(DECL_ARGS);
   static  int       pre_Ft(DECL_ARGS);
 static  int       pre_in(DECL_ARGS);  static  int       pre_in(DECL_ARGS);
 static  int       pre_it(DECL_ARGS);  static  int       pre_it(DECL_ARGS);
 static  int       pre_lk(DECL_ARGS);  static  int       pre_lk(DECL_ARGS);
Line 148  static const struct manact __manacts[MDOC_MAX - MDOC_D
Line 149  static const struct manact __manacts[MDOC_MAX - MDOC_D
         { NULL, pre_fd, post_fd, NULL, NULL }, /* Fd */          { NULL, pre_fd, post_fd, NULL, NULL }, /* Fd */
         { NULL, pre_fl, post_fl, NULL, NULL }, /* Fl */          { NULL, pre_fl, post_fl, NULL, NULL }, /* Fl */
         { NULL, pre_fn, post_fn, NULL, NULL }, /* Fn */          { NULL, pre_fn, post_fn, NULL, NULL }, /* Fn */
         { NULL, pre_ft, post_font, NULL, NULL }, /* Ft */          { NULL, pre_Ft, post_font, NULL, NULL }, /* Ft */
         { NULL, pre_sy, post_font, NULL, NULL }, /* Ic */          { NULL, pre_sy, post_font, NULL, NULL }, /* Ic */
         { NULL, pre_in, post_in, NULL, NULL }, /* In */          { NULL, pre_in, post_in, NULL, NULL }, /* In */
         { NULL, pre_li, post_font, NULL, NULL }, /* Li */          { NULL, pre_li, post_font, NULL, NULL }, /* Li */
         { cond_head, pre_enc, NULL, "\\- ", NULL }, /* Nd */          { cond_head, pre_enc, NULL, "\\- ", NULL }, /* Nd */
         { NULL, pre_nm, post_nm, NULL, NULL }, /* Nm */          { NULL, pre_nm, post_nm, NULL, NULL }, /* Nm */
         { cond_body, pre_enc, post_enc, "[", "]" }, /* Op */          { cond_body, pre_enc, post_enc, "[", "]" }, /* Op */
         { NULL, pre_ft, post_font, NULL, NULL }, /* Ot */          { NULL, pre_Ft, post_font, NULL, NULL }, /* Ot */
         { NULL, pre_em, post_font, NULL, NULL }, /* Pa */          { NULL, pre_em, post_font, NULL, NULL }, /* Pa */
         { NULL, pre_ex, NULL, NULL, NULL }, /* Rv */          { NULL, pre_ex, NULL, NULL, NULL }, /* Rv */
         { NULL, NULL, NULL, NULL, NULL }, /* St */          { NULL, NULL, NULL, NULL, NULL }, /* St */
Line 654  print_node(DECL_ARGS)
Line 655  print_node(DECL_ARGS)
         } else if (n->tok < ROFF_MAX) {          } else if (n->tok < ROFF_MAX) {
                 switch (n->tok) {                  switch (n->tok) {
                 case ROFF_br:                  case ROFF_br:
                         pre_br(meta, n);                          do_sub = pre_br(meta, n);
                         break;                          break;
                   case ROFF_ft:
                           do_sub = pre_ft(meta, n);
                           break;
                 default:                  default:
                         abort();                          abort();
                 }                  }
Line 1314  post_fo(DECL_ARGS)
Line 1318  post_fo(DECL_ARGS)
 }  }
   
 static int  static int
 pre_ft(DECL_ARGS)  pre_Ft(DECL_ARGS)
 {  {
   
         pre_syn(n);          pre_syn(n);
         font_push('I');          font_push('I');
         return 1;          return 1;
   }
   
   static int
   pre_ft(DECL_ARGS)
   {
           print_line(".ft", 0);
           print_word(n->child->string);
           outflags |= MMAN_nl;
           return 0;
 }  }
   
 static int  static int

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111

CVSweb