[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.24 and 1.26

version 1.24, 2009/07/07 09:52:08 version 1.26, 2009/07/12 09:13:21
Line 85  static int eerr_le2(POST_ARGS);
Line 85  static int eerr_le2(POST_ARGS);
 static  int     eerr_eq1(POST_ARGS);  static  int     eerr_eq1(POST_ARGS);
 static  int     eerr_ge1(POST_ARGS);  static  int     eerr_ge1(POST_ARGS);
 static  int     ewarn_eq0(POST_ARGS);  static  int     ewarn_eq0(POST_ARGS);
 static  int     ewarn_eq1(POST_ARGS);  
 static  int     bwarn_ge1(POST_ARGS);  static  int     bwarn_ge1(POST_ARGS);
 static  int     hwarn_eq1(POST_ARGS);  static  int     hwarn_eq1(POST_ARGS);
 static  int     ewarn_ge1(POST_ARGS);  static  int     ewarn_ge1(POST_ARGS);
Line 129  static v_post posts_wline[] = { bwarn_ge1, herr_eq0, N
Line 128  static v_post posts_wline[] = { bwarn_ge1, herr_eq0, N
 static  v_post  posts_sh[] = { herr_ge1, bwarn_ge1, post_sh, NULL };  static  v_post  posts_sh[] = { herr_ge1, bwarn_ge1, post_sh, 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_it[] = { post_it, NULL };  static  v_post  posts_it[] = { post_it, NULL };
 static  v_post  posts_in[] = { ewarn_eq1, NULL };  static  v_post  posts_in[] = { eerr_eq1, NULL };
 static  v_post  posts_ss[] = { herr_ge1, NULL };  static  v_post  posts_ss[] = { herr_ge1, NULL };
 static  v_post  posts_pf[] = { eerr_eq1, NULL };  static  v_post  posts_pf[] = { eerr_eq1, NULL };
 static  v_post  posts_lb[] = { eerr_eq1, NULL };  static  v_post  posts_lb[] = { eerr_eq1, NULL };
Line 408  CHECK_CHILD_DEFN(err, eq, ==)   /* err_child_eq() */
Line 407  CHECK_CHILD_DEFN(err, eq, ==)   /* err_child_eq() */
 CHECK_CHILD_DEFN(err, lt, <)                    /* err_child_lt() */  CHECK_CHILD_DEFN(err, lt, <)                    /* err_child_lt() */
 CHECK_CHILD_DEFN(warn, lt, <)                   /* warn_child_lt() */  CHECK_CHILD_DEFN(warn, lt, <)                   /* warn_child_lt() */
 CHECK_BODY_DEFN(ge1, warn, warn_child_gt, 0)    /* bwarn_ge1() */  CHECK_BODY_DEFN(ge1, warn, warn_child_gt, 0)    /* bwarn_ge1() */
 CHECK_ELEM_DEFN(eq1, warn, warn_child_eq, 1)    /* ewarn_eq1() */  
 CHECK_ELEM_DEFN(eq0, warn, warn_child_eq, 0)    /* ewarn_eq0() */  CHECK_ELEM_DEFN(eq0, warn, warn_child_eq, 0)    /* ewarn_eq0() */
 CHECK_ELEM_DEFN(ge1, warn, warn_child_gt, 0)    /* ewarn_gt1() */  CHECK_ELEM_DEFN(ge1, warn, warn_child_gt, 0)    /* ewarn_gt1() */
 CHECK_ELEM_DEFN(eq1, err, err_child_eq, 1)      /* eerr_eq1() */  CHECK_ELEM_DEFN(eq1, err, err_child_eq, 1)      /* eerr_eq1() */
Line 1219  post_sh_head(POST_ARGS)
Line 1217  post_sh_head(POST_ARGS)
         if (SEC_CUSTOM == sec)          if (SEC_CUSTOM == sec)
                 return(1);                  return(1);
         if (sec == mdoc->lastnamed)          if (sec == mdoc->lastnamed)
                 return(mdoc_nwarn(mdoc, mdoc->last, ESECREP));                  if ( ! mdoc_nwarn(mdoc, mdoc->last, ESECREP))
                           return(0);
         if (sec < mdoc->lastnamed)          if (sec < mdoc->lastnamed)
                 return(mdoc_nwarn(mdoc, mdoc->last, ESECOOO));                  if ( ! mdoc_nwarn(mdoc, mdoc->last, ESECOOO))
                           return(0);
   
         /*          /*
          * Check particular section/manual conventions.  LIBRARY can           * Check particular section/manual conventions.  LIBRARY can

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

CVSweb