Lines Matching refs:nc
315 struct roff_node *nc; in post_SH() local
318 nc = n->child; in post_SH()
327 if (nc != NULL && nc->type == ROFFT_TEXT && in post_SH()
328 strcmp(nc->string, tag) == 0) in post_SH()
336 if (nc != NULL) in post_SH()
343 if (nc->tok == MAN_PP && nc->body->child != NULL) { in post_SH()
344 while (nc->body->last != NULL) { in post_SH()
346 roff_node_relink(man, nc->body->last); in post_SH()
351 if (nc->tok == MAN_PP || nc->tok == ROFF_sp || nc->tok == ROFF_br) { in post_SH()
352 mandoc_msg(MANDOCERR_PAR_SKIP, nc->line, nc->pos, in post_SH()
353 "%s after %s", roff_name[nc->tok], roff_name[n->tok]); in post_SH()
354 roff_node_delete(man, nc); in post_SH()
362 if ((nc = n->last) != NULL && nc->tok == ROFF_br) { in post_SH()
364 nc->line, nc->pos, "%s at the end of %s", in post_SH()
365 roff_name[nc->tok], roff_name[n->tok]); in post_SH()
366 roff_node_delete(man, nc); in post_SH()