version 1.23, 2009/07/06 13:04:52 |
version 1.24, 2009/07/07 09:52:08 |
Line 853 post_bf(POST_ARGS) |
|
Line 853 post_bf(POST_ARGS) |
|
head = mdoc->last->head; |
head = mdoc->last->head; |
|
|
if (mdoc->last->args && head->child) |
if (mdoc->last->args && head->child) |
return(mdoc_verr(mdoc, mdoc->last->line, |
return(mdoc_nerr(mdoc, mdoc->last, ELINE)); |
mdoc->last->pos, "one argument expected")); |
|
else if (mdoc->last->args) |
else if (mdoc->last->args) |
return(1); |
return(1); |
|
|
if (NULL == head->child || MDOC_TEXT != head->child->type) |
if (NULL == head->child || MDOC_TEXT != head->child->type) |
return(mdoc_verr(mdoc, mdoc->last->line, |
return(mdoc_nerr(mdoc, mdoc->last, ELINE)); |
mdoc->last->pos, "text argument expected")); |
|
|
|
p = head->child->string; |
p = head->child->string; |
|
|