Lines Matching refs:last
311 n = mdoc->last; in mdoc_validate()
329 mdoc->last = mdoc->last->child; in mdoc_validate()
330 while (mdoc->last != NULL) { in mdoc_validate()
332 if (mdoc->last == n) in mdoc_validate()
333 mdoc->last = mdoc->last->child; in mdoc_validate()
335 mdoc->last = mdoc->last->next; in mdoc_validate()
340 mdoc->last = n; in mdoc_validate()
364 check_args(mdoc, mdoc->last); in mdoc_validate()
374 if (n->last != NULL) in mdoc_validate()
375 n->last->flags &= ~NODE_DELIMO; in mdoc_validate()
388 if (mdoc->last == n) in mdoc_validate()
421 if (mdoc->last->flags & NODE_NOFILL) in check_text()
434 np = mdoc->last->prev; in check_text_em()
435 nn = mdoc->last->next; in check_text_em()
523 tok = mdoc->last->tok; in post_delim()
524 nch = mdoc->last->last; in post_delim()
539 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim()
556 tok = mdoc->last->tok; in post_delim_nb()
557 nch = mdoc->last->last; in post_delim_nb()
632 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim_nb()
644 n = mdoc->last->parent; in post_bl_norm()
813 n = mdoc->last; in post_bd()
886 n = mdoc->last; in post_an_norm()
911 n = mdoc->last; in post_eoln()
921 mdoc->last->flags |= NODE_EOS | NODE_NOSRC; in post_eoln()
922 mdoc->last = n; in post_eoln()
931 n = mdoc->last->next; in build_list()
934 mdoc->last->flags |= NODE_NOSRC; in build_list()
936 n = mdoc->last = mdoc->last->parent; in build_list()
942 mdoc->last->flags |= NODE_DELIMC | NODE_NOSRC; in build_list()
944 n = mdoc->last->next; in build_list()
947 mdoc->last->flags |= NODE_NOSRC; in build_list()
960 n = mdoc->last; in post_ex()
963 mdoc->last->flags |= NODE_NOSRC; in post_ex()
965 if (mdoc->last->next != NULL) in post_ex()
969 mdoc->last->flags |= NODE_NOSRC; in post_ex()
971 mdoc->last->flags |= NODE_NOSRC; in post_ex()
972 mdoc->last = mdoc->last->parent; in post_ex()
982 mdoc->last->flags |= NODE_NOSRC; in post_ex()
985 mdoc->last->flags |= NODE_EOS | NODE_NOSRC; in post_ex()
986 mdoc->last = n; in post_ex()
996 n = mdoc->last; in post_lb()
1000 mdoc->last->flags = NODE_NOSRC; in post_lb()
1002 mdoc->last->flags = NODE_DELIMO | NODE_NOSRC; in post_lb()
1003 mdoc->last = mdoc->last->next; in post_lb()
1005 mdoc->last->flags = NODE_DELIMC | NODE_NOSRC; in post_lb()
1006 mdoc->last = n; in post_lb()
1017 n = mdoc->last; in post_rv()
1021 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1025 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1031 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1035 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1037 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1039 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1040 mdoc->last = mdoc->last->parent; in post_rv()
1044 mdoc->last->flags |= NODE_EOS | NODE_NOSRC; in post_rv()
1045 mdoc->last = n; in post_rv()
1055 n = mdoc->last; in post_std()
1070 n = mdoc->last; in post_st()
1084 mdoc->last->flags |= NODE_NOSRC; in post_st()
1085 mdoc->last= n; in post_st()
1099 n = mdoc->last; in post_tg()
1213 n = mdoc->last; in post_obsolete()
1224 n = mdoc->last; in post_useless()
1243 np = mdoc->last; in post_bf()
1304 n = mdoc->last; in post_fname()
1335 n = mdoc->last; in post_fo()
1344 if (n->child != n->last) { in post_fo()
1348 while (n->child != n->last) in post_fo()
1349 roff_node_delete(mdoc, n->last); in post_fo()
1362 for (n = mdoc->last->child; n != NULL; n = n->next) { in post_fa()
1382 n = mdoc->last; in post_nm()
1388 if (n->last != NULL && n->last->tok == MDOC_Pp) in post_nm()
1389 roff_node_relink(mdoc, n->last); in post_nm()
1415 mdoc->last->flags |= NODE_NOSRC; in post_nm()
1416 mdoc->last = n; in post_nm()
1424 n = mdoc->last; in post_nd()
1445 n = mdoc->last; in post_display()
1491 n = mdoc->last; in post_defaults()
1500 mdoc->last->flags |= NODE_NOSRC; in post_defaults()
1510 mdoc->last->flags |= NODE_NOSRC; in post_defaults()
1511 mdoc->last = n; in post_defaults()
1520 n = mdoc->last; in post_at()
1540 mdoc->last->flags |= NODE_NOSRC; in post_at()
1541 mdoc->last = n; in post_at()
1551 np = mdoc->last; in post_an()
1568 tag_put(NULL, TAG_FALLBACK, mdoc->last); in post_em()
1575 if (mdoc->last->type == ROFFT_BLOCK) in post_en()
1576 mdoc->last->norm->Es = mdoc->last_es; in post_en()
1584 n = mdoc->last; in post_er()
1598 n = mdoc->last; in post_tag()
1614 mdoc->last_es = mdoc->last; in post_es()
1628 n = mdoc->last; in post_fl()
1649 n = mdoc->last; in post_xx()
1672 v = mdoc->last->string; in post_xx()
1674 mdoc->last->flags |= NODE_NOSRC; in post_xx()
1675 mdoc->last = n; in post_xx()
1688 mdoc->last->flags |= NODE_NOSRC; in post_xx()
1689 mdoc->last = n; in post_xx()
1701 nit = mdoc->last; in post_it()
1776 n = mdoc->last; in post_bl_block()
1780 nc = ni->body->last; in post_bl_block()
1802 nc = ni->body->last; in post_bl_block()
1839 nh = mdoc->last; in post_bl_head()
1901 nbody = mdoc->last; in post_bl()
1927 nchild = mdoc->last; in post_bl()
1929 if (nchild == mdoc->last) in post_bl()
1932 mdoc->last = nbody; in post_bl()
1938 mdoc->last = nbody; in post_bl()
1944 mdoc->last = nbody->parent->parent; in post_bl()
1947 mdoc->last = nbody->parent->prev; in post_bl()
1969 mdoc->last = nchild->prev; in post_bl()
1983 mdoc->last = nbody; in post_bl()
2021 n = mdoc->last; in post_bk()
2034 nch = mdoc->last->child; in post_sm()
2053 "%s %s", roff_name[mdoc->last->tok], nch->string); in post_sm()
2122 np = mdoc->last; in post_rs()
2214 n = mdoc->last; in post_hyph()
2237 n = mdoc->last; in post_ns()
2255 switch (mdoc->last->type) { in post_sh()
2287 for (n = mdoc->last->child; n != NULL; n = n->next) { in post_sh_name()
2320 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_name()
2323 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_name()
2334 n = mdoc->last->child; in post_sh_see_also()
2401 if ( ! child_an(mdoc->last)) in post_sh_authors()
2403 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_authors()
2463 sec = mdoc->last->sec; in post_sh_head()
2469 mdoc->last->line, mdoc->last->pos, "Sh %s", in post_sh_head()
2471 (nch = mdoc->last->child) == NULL ? "" : in post_sh_head()
2494 if ((nch = mdoc->last->child) == NULL || in post_sh_head()
2518 mandoc_msg(MANDOCERR_SEC_REP, mdoc->last->line, in post_sh_head()
2519 mdoc->last->pos, "Sh %s", secnames[sec]); in post_sh_head()
2522 mandoc_msg(MANDOCERR_SEC_ORDER, mdoc->last->line, in post_sh_head()
2523 mdoc->last->pos, "Sh %s", secnames[sec]); in post_sh_head()
2556 mdoc->last->line, mdoc->last->pos, in post_sh_head()
2569 n = mdoc->last; in post_xr()
2575 assert(nch->next == n->last); in post_xr()
2591 n = mdoc->last; in post_section()
2627 if ((nch = n->last) != NULL && in post_section()
2641 n = mdoc->last; in post_prevpar()
2674 np = mdoc->last; in post_par()
2685 n = mdoc->last; in post_dd()
2713 n = mdoc->last; in post_dt()
2811 n = mdoc->last; in post_bx()
2822 mdoc->last = nch; in post_bx()
2826 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2831 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2834 mdoc->last = n; in post_bx()
2839 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2842 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2844 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2845 mdoc->last = n; in post_bx()
2864 n = mdoc->last; in post_os()