version 1.27, 2009/07/12 16:34:16 |
version 1.29, 2009/07/12 16:41:33 |
Line 1153 post_sh_body(POST_ARGS) |
|
Line 1153 post_sh_body(POST_ARGS) |
|
{ |
{ |
struct mdoc_node *n; |
struct mdoc_node *n; |
|
|
if (SEC_NAME != mdoc->lastnamed) |
if (SEC_NAME != mdoc->lastsec) |
return(1); |
return(1); |
|
|
/* |
/* |
Line 1167 post_sh_body(POST_ARGS) |
|
Line 1167 post_sh_body(POST_ARGS) |
|
|
|
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; |
|
if (MDOC_TEXT == n->type) |
continue; |
continue; |
if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC)) |
if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC)) |
return(0); |
return(0); |