[BACK]Return to man_validate.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/man_validate.c between version 1.54 and 1.55

version 1.54, 2012/07/18 16:40:50 version 1.55, 2012/07/18 16:51:50
Line 51 
Line 51 
 static  void      check_text(CHKARGS);  static  void      check_text(CHKARGS);
   
 static  int       post_AT(CHKARGS);  static  int       post_AT(CHKARGS);
   static  int       post_IP(CHKARGS);
 static  int       post_vs(CHKARGS);  static  int       post_vs(CHKARGS);
 static  int       post_fi(CHKARGS);  static  int       post_fi(CHKARGS);
 static  int       post_ft(CHKARGS);  static  int       post_ft(CHKARGS);
Line 66 
Line 67 
 static  v_check   posts_eq2[] = { check_eq2, NULL };  static  v_check   posts_eq2[] = { check_eq2, NULL };
 static  v_check   posts_fi[] = { check_eq0, post_fi, NULL };  static  v_check   posts_fi[] = { check_eq0, post_fi, NULL };
 static  v_check   posts_ft[] = { post_ft, NULL };  static  v_check   posts_ft[] = { post_ft, NULL };
   static  v_check   posts_ip[] = { post_IP, NULL };
 static  v_check   posts_nf[] = { check_eq0, post_nf, NULL };  static  v_check   posts_nf[] = { check_eq0, post_nf, NULL };
 static  v_check   posts_par[] = { check_par, NULL };  static  v_check   posts_par[] = { check_par, NULL };
 static  v_check   posts_part[] = { check_part, NULL };  static  v_check   posts_part[] = { check_part, NULL };
Line 84 
Line 86 
         { NULL, posts_par }, /* LP */          { NULL, posts_par }, /* LP */
         { NULL, posts_par }, /* PP */          { NULL, posts_par }, /* PP */
         { NULL, posts_par }, /* P */          { NULL, posts_par }, /* P */
         { NULL, NULL }, /* IP */          { NULL, posts_ip }, /* IP */
         { NULL, NULL }, /* HP */          { NULL, NULL }, /* HP */
         { NULL, NULL }, /* SM */          { NULL, NULL }, /* SM */
         { NULL, NULL }, /* SB */          { NULL, NULL }, /* SB */
Line 350 
Line 352 
         return(1);          return(1);
 }  }
   
   static int
   post_IP(CHKARGS)
   {
   
           switch (n->type) {
           case (MAN_BLOCK):
                   if (0 == n->head->nchild && 0 == n->body->nchild)
                           man_node_delete(m, n);
                   break;
           case (MAN_BODY):
                   if (0 == n->parent->head->nchild && 0 == n->nchild)
                           man_nmsg(m, n, MANDOCERR_IGNPAR);
                   break;
           default:
                   break;
           }
           return(1);
   }
   
 static int  static int
 post_TH(CHKARGS)  post_TH(CHKARGS)

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55