Return to mdoc_validate.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.350, 2017/07/20 12:54:02 | version 1.351, 2017/07/31 15:19:06 | ||
---|---|---|---|
|
|
||
/* Check that we begin with a proper `Sh'. */ | /* Check that we begin with a proper `Sh'. */ | ||
n = mdoc->first->child; | n = mdoc->first->child; | ||
while (n != NULL && n->tok != TOKEN_NONE && | while (n != NULL && n->tok >= MDOC_Dd && | ||
mdoc_macros[n->tok].flags & MDOC_PROLOGUE) | mdoc_macros[n->tok].flags & MDOC_PROLOGUE) | ||
n = n->next; | n = n->next; | ||