[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.65 and 1.67

version 1.65, 2010/04/06 11:52:25 version 1.67, 2010/04/06 17:01:27
Line 77  static int  ewarn_ge1(POST_ARGS);
Line 77  static int  ewarn_ge1(POST_ARGS);
 static  int      herr_eq0(POST_ARGS);  static  int      herr_eq0(POST_ARGS);
 static  int      herr_ge1(POST_ARGS);  static  int      herr_ge1(POST_ARGS);
 static  int      hwarn_eq1(POST_ARGS);  static  int      hwarn_eq1(POST_ARGS);
   static  int      hwarn_eq0(POST_ARGS);
 static  int      hwarn_le1(POST_ARGS);  static  int      hwarn_le1(POST_ARGS);
   
 static  int      post_an(POST_ARGS);  static  int      post_an(POST_ARGS);
Line 101  static int  pre_cd(PRE_ARGS);
Line 102  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);
 static  int      pre_er(PRE_ARGS);  
 static  int      pre_ex(PRE_ARGS);  static  int      pre_ex(PRE_ARGS);
 static  int      pre_fd(PRE_ARGS);  static  int      pre_fd(PRE_ARGS);
 static  int      pre_it(PRE_ARGS);  static  int      pre_it(PRE_ARGS);
Line 113  static int  pre_ss(PRE_ARGS);
Line 113  static int  pre_ss(PRE_ARGS);
   
 static  v_post   posts_an[] = { post_an, NULL };  static  v_post   posts_an[] = { post_an, NULL };
 static  v_post   posts_at[] = { post_at, NULL };  static  v_post   posts_at[] = { post_at, NULL };
 static  v_post   posts_bd[] = { herr_eq0, bwarn_ge1, NULL };  static  v_post   posts_bd[] = { hwarn_eq0, bwarn_ge1, NULL };
 static  v_post   posts_bf[] = { hwarn_le1, post_bf, NULL };  static  v_post   posts_bf[] = { hwarn_le1, post_bf, NULL };
 static  v_post   posts_bl[] = { bwarn_ge1, post_bl, NULL };  static  v_post   posts_bl[] = { bwarn_ge1, post_bl, NULL };
 static  v_post   posts_bool[] = { eerr_eq1, ebool, NULL };  static  v_post   posts_bool[] = { eerr_eq1, ebool, NULL };
Line 141  static v_pre  pres_cd[] = { pre_cd, NULL };
Line 141  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 };
 static  v_pre    pres_er[] = { pre_er, NULL };  static  v_pre    pres_er[] = { NULL, NULL };
 static  v_pre    pres_ex[] = { pre_ex, NULL };  static  v_pre    pres_ex[] = { pre_ex, NULL };
 static  v_pre    pres_fd[] = { pre_fd, NULL };  static  v_pre    pres_fd[] = { pre_fd, NULL };
 static  v_pre    pres_it[] = { pre_it, NULL };  static  v_pre    pres_it[] = { pre_it, NULL };
Line 414  CHECK_HEAD_DEFN(eq0, err, err_child_eq, 0) /* herr_eq0
Line 414  CHECK_HEAD_DEFN(eq0, err, err_child_eq, 0) /* herr_eq0
 CHECK_HEAD_DEFN(le1, warn, warn_child_lt, 2)    /* hwarn_le1() */  CHECK_HEAD_DEFN(le1, warn, warn_child_lt, 2)    /* hwarn_le1() */
 CHECK_HEAD_DEFN(ge1, err, err_child_gt, 0)      /* herr_ge1() */  CHECK_HEAD_DEFN(ge1, err, err_child_gt, 0)      /* herr_ge1() */
 CHECK_HEAD_DEFN(eq1, warn, warn_child_eq, 1)    /* hwarn_eq1() */  CHECK_HEAD_DEFN(eq1, warn, warn_child_eq, 1)    /* hwarn_eq1() */
   CHECK_HEAD_DEFN(eq0, warn, warn_child_eq, 0)    /* hwarn_eq0() */
   
   
 static int  static int
Line 798  pre_ex(PRE_ARGS)
Line 799  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_er(PRE_ARGS)  
 {  
   
         return(check_msec(mdoc, n, 2, 3, 9, 0));  
 }  }
   
   

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.67

CVSweb