version 1.219, 2014/07/02 05:52:25 |
version 1.221, 2014/07/02 13:10:45 |
Line 591 pre_display(PRE_ARGS) |
|
Line 591 pre_display(PRE_ARGS) |
|
break; |
break; |
|
|
if (node) |
if (node) |
mdoc_nmsg(mdoc, n, MANDOCERR_NESTEDDISP); |
mandoc_vmsg(MANDOCERR_BD_NEST, |
|
mdoc->parse, n->line, n->pos, |
|
"%s in Bd", mdoc_macronames[n->tok]); |
|
|
return(1); |
return(1); |
} |
} |
Line 1115 post_vt(POST_ARGS) |
|
Line 1117 post_vt(POST_ARGS) |
|
|
|
for (n = mdoc->last->child; n; n = n->next) |
for (n = mdoc->last->child; n; n = n->next) |
if (MDOC_TEXT != n->type) |
if (MDOC_TEXT != n->type) |
mdoc_nmsg(mdoc, n, MANDOCERR_CHILD); |
mandoc_msg(MANDOCERR_VT_CHILD, mdoc->parse, |
|
n->line, n->pos, mdoc_macronames[n->tok]); |
|
|
return(1); |
return(1); |
} |
} |
Line 1611 post_bl(POST_ARGS) |
|
Line 1614 post_bl(POST_ARGS) |
|
continue; |
continue; |
} |
} |
|
|
mdoc_nmsg(mdoc, nchild, MANDOCERR_CHILD); |
mandoc_msg(MANDOCERR_BL_MOVE, mdoc->parse, |
|
nchild->line, nchild->pos, |
|
mdoc_macronames[nchild->tok]); |
|
|
/* |
/* |
* Move the node out of the Bl block. |
* Move the node out of the Bl block. |
Line 1780 post_rs(POST_ARGS) |
|
Line 1785 post_rs(POST_ARGS) |
|
} |
} |
|
|
next = nn->next; |
next = nn->next; |
mdoc_nmsg(mdoc, nn, MANDOCERR_CHILD); |
mandoc_msg(MANDOCERR_RS_SKIP, mdoc->parse, |
|
nn->line, nn->pos, mdoc_macronames[nn->tok]); |
mdoc_node_delete(mdoc, nn); |
mdoc_node_delete(mdoc, nn); |
} |
} |
|
|
Line 1903 post_ns(POST_ARGS) |
|
Line 1909 post_ns(POST_ARGS) |
|
{ |
{ |
|
|
if (MDOC_LINE & mdoc->last->flags) |
if (MDOC_LINE & mdoc->last->flags) |
mdoc_nmsg(mdoc, mdoc->last, MANDOCERR_IGNNS); |
mdoc_nmsg(mdoc, mdoc->last, MANDOCERR_NS_SKIP); |
return(1); |
return(1); |
} |
} |
|
|