Lines Matching refs:nc
297 struct roff_node *nc; in post_SH() local
300 nc = n->child; in post_SH()
309 if (nc != NULL && nc->type == ROFFT_TEXT && in post_SH()
310 strcmp(nc->string, tag) == 0) in post_SH()
318 if (nc != NULL) in post_SH()
325 if ((nc->tok == MAN_LP || nc->tok == MAN_PP || nc->tok == MAN_P) && in post_SH()
326 nc->body->child != NULL) { in post_SH()
327 while (nc->body->last != NULL) { in post_SH()
329 roff_node_relink(man, nc->body->last); in post_SH()
334 if (nc->tok == MAN_LP || nc->tok == MAN_PP || nc->tok == MAN_P || in post_SH()
335 nc->tok == ROFF_sp || nc->tok == ROFF_br) { in post_SH()
336 mandoc_msg(MANDOCERR_PAR_SKIP, nc->line, nc->pos, in post_SH()
337 "%s after %s", roff_name[nc->tok], roff_name[n->tok]); in post_SH()
338 roff_node_delete(man, nc); in post_SH()
346 if ((nc = n->last) != NULL && nc->tok == ROFF_br) { in post_SH()
348 nc->line, nc->pos, "%s at the end of %s", in post_SH()
349 roff_name[nc->tok], roff_name[n->tok]); in post_SH()
350 roff_node_delete(man, nc); in post_SH()