version 1.301, 2016/01/08 17:48:09 |
version 1.304, 2016/08/10 12:29:38 |
Line 502 post_bl_norm(POST_ARGS) |
|
Line 502 post_bl_norm(POST_ARGS) |
|
mandoc_msg(MANDOCERR_BL_NOTYPE, mdoc->parse, |
mandoc_msg(MANDOCERR_BL_NOTYPE, mdoc->parse, |
n->line, n->pos, "Bl"); |
n->line, n->pos, "Bl"); |
n->norm->Bl.type = LIST_item; |
n->norm->Bl.type = LIST_item; |
|
mdoclt = MDOC_Item; |
} |
} |
|
|
/* |
/* |
Line 1063 post_it(POST_ARGS) |
|
Line 1064 post_it(POST_ARGS) |
|
mdoc_argnames[nbl->args->argv[0].arg]); |
mdoc_argnames[nbl->args->argv[0].arg]); |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case LIST_item: |
case LIST_item: |
if (nit->head->child != NULL) |
if ((nch = nit->head->child) != NULL) |
mandoc_vmsg(MANDOCERR_ARG_SKIP, |
mandoc_vmsg(MANDOCERR_ARG_SKIP, |
mdoc->parse, nit->line, nit->pos, |
mdoc->parse, nit->line, nit->pos, |
"It %s", nit->head->child->string); |
"It %s", nch->string == NULL ? |
|
mdoc_macronames[nch->tok] : nch->string); |
break; |
break; |
case LIST_column: |
case LIST_column: |
cols = (int)nbl->norm->Bl.ncols; |
cols = (int)nbl->norm->Bl.ncols; |
Line 1773 post_sh_head(POST_ARGS) |
|
Line 1775 post_sh_head(POST_ARGS) |
|
|
|
/* The NAME should be first. */ |
/* The NAME should be first. */ |
|
|
if (SEC_NAME != sec && SEC_NONE == mdoc->lastnamed) |
if (sec != SEC_NAME && mdoc->lastnamed == SEC_NONE) |
mandoc_vmsg(MANDOCERR_NAMESEC_FIRST, mdoc->parse, |
mandoc_vmsg(MANDOCERR_NAMESEC_FIRST, mdoc->parse, |
mdoc->last->line, mdoc->last->pos, |
mdoc->last->line, mdoc->last->pos, "Sh %s", |
"Sh %s", secnames[sec]); |
sec == SEC_CUSTOM ? mdoc->last->child->string : |
|
secnames[sec]); |
|
|
/* The SYNOPSIS gets special attention in other areas. */ |
/* The SYNOPSIS gets special attention in other areas. */ |
|
|