Return to mdoc_validate.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.340, 2017/06/24 14:38:33 | version 1.341, 2017/06/24 15:59:50 | ||
---|---|---|---|
|
|
||
* the operating system earlier. | * the operating system earlier. | ||
*/ | */ | ||
if (n->child != NULL) | |||
mandoc_vmsg(MANDOCERR_OS_ARG, mdoc->parse, | |||
n->child->line, n->child->pos, | |||
"Os %s (%s)", n->child->string, | |||
mdoc->meta.os_e == MANDOC_OS_OPENBSD ? | |||
"OpenBSD" : "NetBSD"); | |||
while (n->tok != MDOC_Dd) | while (n->tok != MDOC_Dd) | ||
if ((n = n->prev) == NULL) | if ((n = n->prev) == NULL) | ||
return; | return; |