version 1.92, 2014/06/20 17:24:00 |
version 1.94, 2014/07/01 22:37:15 |
Line 198 check_root(CHKARGS) |
|
Line 198 check_root(CHKARGS) |
|
man->flags &= ~MAN_BLINE; |
man->flags &= ~MAN_BLINE; |
man->flags &= ~MAN_ELINE; |
man->flags &= ~MAN_ELINE; |
|
|
if (NULL == man->first->child) { |
if (NULL == man->first->child) |
man_nmsg(man, n, MANDOCERR_NODOCBODY); |
man_nmsg(man, n, MANDOCERR_DOC_EMPTY); |
return(0); |
else |
} else if (NULL == man->meta.title) { |
man->meta.hasbody = 1; |
|
|
|
if (NULL == man->meta.title) { |
man_nmsg(man, n, MANDOCERR_TH_MISSING); |
man_nmsg(man, n, MANDOCERR_TH_MISSING); |
|
|
/* |
/* |
Line 412 post_TH(CHKARGS) |
|
Line 414 post_TH(CHKARGS) |
|
/* Only warn about this once... */ |
/* Only warn about this once... */ |
if (isalpha((unsigned char)*p) && |
if (isalpha((unsigned char)*p) && |
! isupper((unsigned char)*p)) { |
! isupper((unsigned char)*p)) { |
man_nmsg(man, n, MANDOCERR_TITLE_CASE); |
mandoc_msg(MANDOCERR_TITLE_CASE, |
|
man->parse, n->line, |
|
n->pos + (p - n->string), |
|
n->string); |
break; |
break; |
} |
} |
} |
} |