Return to mdoc_validate.c CVS log | Up to [local] / src / usr.bin / mandoc |
version 1.267, 2017/08/02 13:28:35 | version 1.268, 2017/09/12 18:20:32 | ||
---|---|---|---|
|
|
||
arch++; | arch++; | ||
if (*arch == NULL) { | if (*arch == NULL) { | ||
n = mdoc->first->child; | n = mdoc->first->child; | ||
while (n->tok != MDOC_Dt) | while (n->tok != MDOC_Dt || | ||
n->child == NULL || | |||
n->child->next == NULL || | |||
n->child->next->next == NULL) | |||
n = n->next; | n = n->next; | ||
n = n->child->next->next; | n = n->child->next->next; | ||
mandoc_vmsg(MANDOCERR_ARCH_BAD, | mandoc_vmsg(MANDOCERR_ARCH_BAD, |