Return to mdoc_validate.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.27, 2009/07/12 16:34:16 | version 1.28, 2009/07/12 16:38:15 | ||
---|---|---|---|
|
|
||
for ( ; n && n->next; n = n->next) { | for ( ; n && n->next; n = n->next) { | ||
if (MDOC_ELEM == n->type && MDOC_Nm == n->tok) | if (MDOC_ELEM == n->type && MDOC_Nm == n->tok) | ||
continue; | continue; | ||
if (MDOC_TEXT == n->type) | |||
continue; | |||
if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC)) | if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC)) | ||
return(0); | return(0); | ||
} | } |