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

Diff for /mandoc/man_validate.c between version 1.156 and 1.157

version 1.156, 2021/08/10 12:55:03 version 1.157, 2022/08/02 12:02:28
Line 373  post_UR(CHKARGS)
Line 373  post_UR(CHKARGS)
         if (n->type == ROFFT_HEAD && n->child == NULL)          if (n->type == ROFFT_HEAD && n->child == NULL)
                 mandoc_msg(MANDOCERR_UR_NOHEAD, n->line, n->pos,                  mandoc_msg(MANDOCERR_UR_NOHEAD, n->line, n->pos,
                     "%s", roff_name[n->tok]);                      "%s", roff_name[n->tok]);
         check_part(man, n);  
 }  }
   
 static void  static void
 check_part(CHKARGS)  check_part(CHKARGS)
 {  {
   
         if (n->type == ROFFT_BODY && n->child == NULL)          if (n->type == ROFFT_BODY && n->child == NULL)
                 mandoc_msg(MANDOCERR_BLK_EMPTY, n->line, n->pos,                  mandoc_msg(MANDOCERR_BLK_EMPTY, n->line, n->pos,
                     "%s", roff_name[n->tok]);                      "%s", roff_name[n->tok]);

Legend:
Removed from v.1.156  
changed lines
  Added in v.1.157

CVSweb