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]); |