[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.23 and 1.24

version 1.23, 2012/07/08 18:39:47 version 1.24, 2012/07/08 22:49:29
Line 70  static int   pre_fo(DECL_ARGS);
Line 70  static int   pre_fo(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_nm(DECL_ARGS);  static  int       pre_nm(DECL_ARGS);
 static  int       pre_ns(DECL_ARGS);  static  int       pre_ns(DECL_ARGS);
 static  int       pre_pp(DECL_ARGS);  static  int       pre_pp(DECL_ARGS);
Line 199  static const struct manact manacts[MDOC_MAX + 1] = {
Line 200  static const struct manact manacts[MDOC_MAX + 1] = {
         { NULL, pre_ux, NULL, "currently under development.", NULL }, /* Ud */          { NULL, pre_ux, NULL, "currently under development.", NULL }, /* Ud */
         { NULL, NULL, post_lb, NULL, NULL }, /* Lb */          { NULL, NULL, post_lb, NULL, NULL }, /* Lb */
         { NULL, pre_pp, NULL, NULL, NULL }, /* Lp */          { NULL, pre_pp, NULL, NULL, NULL }, /* Lp */
         { NULL, NULL, NULL, NULL, NULL }, /* _Lk */          { NULL, pre_lk, NULL, NULL, NULL }, /* Lk */
         { NULL, NULL, NULL, NULL, NULL }, /* _Mt */          { NULL, NULL, NULL, NULL, NULL }, /* _Mt */
         { cond_body, pre_enc, post_enc, "{", "}" }, /* Brq */          { cond_body, pre_enc, post_enc, "{", "}" }, /* Brq */
         { cond_body, pre_enc, post_enc, "{", "}" }, /* Bro */          { cond_body, pre_enc, post_enc, "{", "}" }, /* Bro */
Line 828  post_lb(DECL_ARGS)
Line 829  post_lb(DECL_ARGS)
   
         if (SEC_LIBRARY == n->sec)          if (SEC_LIBRARY == n->sec)
                 outflags |= MMAN_br;                  outflags |= MMAN_br;
   }
   
   static int
   pre_lk(DECL_ARGS)
   {
           const struct mdoc_node *link, *descr;
   
           if (NULL == (link = n->child))
                   return(0);
   
           if (NULL != (descr = link->next)) {
                   print_word("\\fI");
                   outflags &= ~MMAN_spc;
                   while (NULL != descr) {
                           print_word(descr->string);
                           descr = descr->next;
                   }
                   print_word(":");
                   outflags &= ~MMAN_spc;
                   print_word("\\fP");
           }
   
           print_word("\\fB");
           outflags &= ~MMAN_spc;
           print_word(link->string);
           outflags &= ~MMAN_spc;
           print_word("\\fP");
           return(0);
 }  }
   
 static int  static int

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

CVSweb