version 1.365, 2018/12/14 05:18:02 |
version 1.366, 2018/12/30 00:49:55 |
Line 1952 post_root(POST_ARGS) |
|
Line 1952 post_root(POST_ARGS) |
|
while (*arch != NULL && strcmp(*arch, mdoc->meta.arch)) |
while (*arch != NULL && strcmp(*arch, mdoc->meta.arch)) |
arch++; |
arch++; |
if (*arch == NULL) { |
if (*arch == NULL) { |
n = mdoc->first->child; |
n = mdoc->meta.first->child; |
while (n->tok != MDOC_Dt || |
while (n->tok != MDOC_Dt || |
n->child == NULL || |
n->child == NULL || |
n->child->next == NULL || |
n->child->next == NULL || |
Line 1968 post_root(POST_ARGS) |
|
Line 1968 post_root(POST_ARGS) |
|
|
|
/* Check that we begin with a proper `Sh'. */ |
/* Check that we begin with a proper `Sh'. */ |
|
|
n = mdoc->first->child; |
n = mdoc->meta.first->child; |
while (n != NULL && |
while (n != NULL && |
(n->type == ROFFT_COMMENT || |
(n->type == ROFFT_COMMENT || |
(n->tok >= MDOC_Dd && |
(n->tok >= MDOC_Dd && |