[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.322 and 1.323

version 1.322, 2015/07/25 14:18:04 version 1.323, 2015/07/25 14:23:08
Line 95  static int   termp_bx_pre(DECL_ARGS);
Line 95  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_eo_pre(DECL_ARGS);  static  int       termp_eo_pre(DECL_ARGS);
   static  int       termp_er_pre(DECL_ARGS);
 static  int       termp_ex_pre(DECL_ARGS);  static  int       termp_ex_pre(DECL_ARGS);
 static  int       termp_fa_pre(DECL_ARGS);  static  int       termp_fa_pre(DECL_ARGS);
 static  int       termp_fd_pre(DECL_ARGS);  static  int       termp_fd_pre(DECL_ARGS);
Line 146  static const struct termact termacts[MDOC_MAX] = {
Line 147  static const struct termact termacts[MDOC_MAX] = {
         { termp_cd_pre, NULL }, /* Cd */          { termp_cd_pre, NULL }, /* Cd */
         { termp_bold_pre, NULL }, /* Cm */          { termp_bold_pre, NULL }, /* Cm */
         { NULL, NULL }, /* Dv */          { NULL, NULL }, /* Dv */
         { NULL, NULL }, /* Er */          { termp_er_pre, NULL }, /* Er */
         { termp_tag_pre, NULL }, /* Ev */          { termp_tag_pre, NULL }, /* Ev */
         { termp_ex_pre, NULL }, /* Ex */          { termp_ex_pre, NULL }, /* Ex */
         { termp_fa_pre, NULL }, /* Fa */          { termp_fa_pre, NULL }, /* Fa */
Line 2269  termp_under_pre(DECL_ARGS)
Line 2270  termp_under_pre(DECL_ARGS)
 {  {
   
         term_fontpush(p, TERMFONT_UNDER);          term_fontpush(p, TERMFONT_UNDER);
           return(1);
   }
   
   static int
   termp_er_pre(DECL_ARGS)
   {
   
           if (n->sec == SEC_ERRORS &&
               (n->parent->tok == MDOC_It ||
                (n->parent->tok == MDOC_Bq &&
                 n->parent->parent->parent->tok == MDOC_It)) &&
               ! tag_get(n->child->string, 0, 1))
                   tag_put(n->child->string, 0, 1, p->line);
         return(1);          return(1);
 }  }
   

Legend:
Removed from v.1.322  
changed lines
  Added in v.1.323

CVSweb