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

Diff for /mandoc/mdoc_validate.c between version 1.68 and 1.69

version 1.68, 2010/04/07 18:50:35 version 1.69, 2010/04/07 19:35:42
Line 98  static int  post_vt(POST_ARGS);
Line 98  static int  post_vt(POST_ARGS);
 static  int      pre_an(PRE_ARGS);  static  int      pre_an(PRE_ARGS);
 static  int      pre_bd(PRE_ARGS);  static  int      pre_bd(PRE_ARGS);
 static  int      pre_bl(PRE_ARGS);  static  int      pre_bl(PRE_ARGS);
 static  int      pre_cd(PRE_ARGS);  
 static  int      pre_dd(PRE_ARGS);  static  int      pre_dd(PRE_ARGS);
 static  int      pre_display(PRE_ARGS);  static  int      pre_display(PRE_ARGS);
 static  int      pre_dt(PRE_ARGS);  static  int      pre_dt(PRE_ARGS);
Line 137  static v_post  posts_xr[] = { ewarn_ge1, NULL };
Line 136  static v_post  posts_xr[] = { ewarn_ge1, NULL };
 static  v_pre    pres_an[] = { pre_an, NULL };  static  v_pre    pres_an[] = { pre_an, NULL };
 static  v_pre    pres_bd[] = { pre_display, pre_bd, NULL };  static  v_pre    pres_bd[] = { pre_display, pre_bd, NULL };
 static  v_pre    pres_bl[] = { pre_bl, NULL };  static  v_pre    pres_bl[] = { pre_bl, NULL };
 static  v_pre    pres_cd[] = { pre_cd, NULL };  
 static  v_pre    pres_d1[] = { pre_display, NULL };  static  v_pre    pres_d1[] = { pre_display, NULL };
 static  v_pre    pres_dd[] = { pre_dd, NULL };  static  v_pre    pres_dd[] = { pre_dd, NULL };
 static  v_pre    pres_dt[] = { pre_dt, NULL };  static  v_pre    pres_dt[] = { pre_dt, NULL };
Line 169  const struct valids mdoc_valids[MDOC_MAX] = {
Line 167  const struct valids mdoc_valids[MDOC_MAX] = {
         { NULL, posts_text },                   /* Ad */          { NULL, posts_text },                   /* Ad */
         { pres_an, posts_an },                  /* An */          { pres_an, posts_an },                  /* An */
         { NULL, NULL },                         /* Ar */          { NULL, NULL },                         /* Ar */
         { pres_cd, posts_text },                /* Cd */          { NULL, posts_text },                   /* Cd */
         { NULL, NULL },                         /* Cm */          { NULL, NULL },                         /* Cm */
         { NULL, NULL },                         /* Dv */          { NULL, NULL },                         /* Dv */
         { pres_er, posts_text },                /* Er */          { pres_er, posts_text },                /* Er */
Line 786  static int
Line 784  static int
 pre_rv(PRE_ARGS)  pre_rv(PRE_ARGS)
 {  {
   
         if ( ! check_msec(mdoc, n, 2, 3, 0))  
                 return(0);  
         return(check_stdarg(mdoc, n));          return(check_stdarg(mdoc, n));
 }  }
   
Line 799  pre_ex(PRE_ARGS)
Line 795  pre_ex(PRE_ARGS)
         if ( ! check_msec(mdoc, n, 1, 6, 8, 0))          if ( ! check_msec(mdoc, n, 1, 6, 8, 0))
                 return(0);                  return(0);
         return(check_stdarg(mdoc, n));          return(check_stdarg(mdoc, n));
 }  
   
   
 static int  
 pre_cd(PRE_ARGS)  
 {  
   
         return(check_msec(mdoc, n, 4, 9, 0));  
 }  }
   
   

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

CVSweb