[BACK]Return to mdoc_term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc_term.c between version 1.210 and 1.211

version 1.210, 2011/01/25 10:37:49 version 1.211, 2011/01/25 15:17:18
Line 73  static void   termp_an_post(DECL_ARGS);
Line 73  static void   termp_an_post(DECL_ARGS);
 static  void      termp_bd_post(DECL_ARGS);  static  void      termp_bd_post(DECL_ARGS);
 static  void      termp_bk_post(DECL_ARGS);  static  void      termp_bk_post(DECL_ARGS);
 static  void      termp_bl_post(DECL_ARGS);  static  void      termp_bl_post(DECL_ARGS);
 static  void      termp_bx_post(DECL_ARGS);  
 static  void      termp_d1_post(DECL_ARGS);  static  void      termp_d1_post(DECL_ARGS);
 static  void      termp_fo_post(DECL_ARGS);  static  void      termp_fo_post(DECL_ARGS);
 static  void      termp_in_post(DECL_ARGS);  static  void      termp_in_post(DECL_ARGS);
Line 95  static int   termp_bk_pre(DECL_ARGS);
Line 94  static int   termp_bk_pre(DECL_ARGS);
 static  int       termp_bl_pre(DECL_ARGS);  static  int       termp_bl_pre(DECL_ARGS);
 static  int       termp_bold_pre(DECL_ARGS);  static  int       termp_bold_pre(DECL_ARGS);
 static  int       termp_bt_pre(DECL_ARGS);  static  int       termp_bt_pre(DECL_ARGS);
   static  int       termp_bx_pre(DECL_ARGS);
 static  int       termp_cd_pre(DECL_ARGS);  static  int       termp_cd_pre(DECL_ARGS);
 static  int       termp_d1_pre(DECL_ARGS);  static  int       termp_d1_pre(DECL_ARGS);
 static  int       termp_ex_pre(DECL_ARGS);  static  int       termp_ex_pre(DECL_ARGS);
Line 187  static const struct termact termacts[MDOC_MAX] = {
Line 187  static const struct termact termacts[MDOC_MAX] = {
         { termp_quote_pre, termp_quote_post }, /* Bo */          { termp_quote_pre, termp_quote_post }, /* Bo */
         { termp_quote_pre, termp_quote_post }, /* Bq */          { termp_quote_pre, termp_quote_post }, /* Bq */
         { termp_xx_pre, NULL }, /* Bsx */          { termp_xx_pre, NULL }, /* Bsx */
         { NULL, termp_bx_post }, /* Bx */          { termp_bx_pre, NULL }, /* Bx */
         { NULL, NULL }, /* Db */          { NULL, NULL }, /* Db */
         { NULL, NULL }, /* Dc */          { NULL, NULL }, /* Dc */
         { termp_quote_pre, termp_quote_post }, /* Do */          { termp_quote_pre, termp_quote_post }, /* Do */
Line 1674  termp_bd_post(DECL_ARGS)
Line 1674  termp_bd_post(DECL_ARGS)
   
   
 /* ARGSUSED */  /* ARGSUSED */
 static void  static int
 termp_bx_post(DECL_ARGS)  termp_bx_pre(DECL_ARGS)
 {  {
   
         if (n->child)          if (NULL != (n = n->child)) {
                   term_word(p, n->string);
                 p->flags |= TERMP_NOSPACE;                  p->flags |= TERMP_NOSPACE;
         term_word(p, "BSD");                  term_word(p, "BSD");
           } else {
                   term_word(p, "BSD");
                   return(0);
           }
   
           if (NULL != (n = n->next)) {
                   p->flags |= TERMP_NOSPACE;
                   term_word(p, "-");
                   p->flags |= TERMP_NOSPACE;
                   term_word(p, n->string);
           }
   
           return(0);
 }  }
   
   

Legend:
Removed from v.1.210  
changed lines
  Added in v.1.211

CVSweb