Lines Matching refs:last
313 n = mdoc->last; in mdoc_validate()
331 mdoc->last = mdoc->last->child; in mdoc_validate()
332 while (mdoc->last != NULL) { in mdoc_validate()
334 if (mdoc->last == n) in mdoc_validate()
335 mdoc->last = mdoc->last->child; in mdoc_validate()
337 mdoc->last = mdoc->last->next; in mdoc_validate()
342 mdoc->last = n; in mdoc_validate()
366 check_args(mdoc, mdoc->last); in mdoc_validate()
376 if (n->last != NULL) in mdoc_validate()
377 n->last->flags &= ~NODE_DELIMO; in mdoc_validate()
390 if (mdoc->last == n) in mdoc_validate()
423 if (mdoc->last->flags & NODE_NOFILL) in check_text()
436 np = mdoc->last->prev; in check_text_em()
437 nn = mdoc->last->next; in check_text_em()
525 tok = mdoc->last->tok; in post_delim()
526 nch = mdoc->last->last; in post_delim()
541 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim()
558 tok = mdoc->last->tok; in post_delim_nb()
559 nch = mdoc->last->last; in post_delim_nb()
634 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim_nb()
646 n = mdoc->last->parent; in post_bl_norm()
815 n = mdoc->last; in post_bd()
888 n = mdoc->last; in post_an_norm()
913 n = mdoc->last; in post_eoln()
923 mdoc->last->flags |= NODE_EOS | NODE_NOSRC; in post_eoln()
924 mdoc->last = n; in post_eoln()
933 n = mdoc->last->next; in build_list()
936 mdoc->last->flags |= NODE_NOSRC; in build_list()
938 n = mdoc->last = mdoc->last->parent; in build_list()
944 mdoc->last->flags |= NODE_DELIMC | NODE_NOSRC; in build_list()
946 n = mdoc->last->next; in build_list()
949 mdoc->last->flags |= NODE_NOSRC; in build_list()
962 n = mdoc->last; in post_ex()
965 mdoc->last->flags |= NODE_NOSRC; in post_ex()
967 if (mdoc->last->next != NULL) in post_ex()
971 mdoc->last->flags |= NODE_NOSRC; in post_ex()
973 mdoc->last->flags |= NODE_NOSRC; in post_ex()
974 mdoc->last = mdoc->last->parent; in post_ex()
984 mdoc->last->flags |= NODE_NOSRC; in post_ex()
987 mdoc->last->flags |= NODE_EOS | NODE_NOSRC; in post_ex()
988 mdoc->last = n; in post_ex()
999 n = mdoc->last; in post_lb()
1006 mdoc->last->flags = NODE_NOSRC; in post_lb()
1007 mdoc->last = n; in post_lb()
1015 mdoc->last->flags = NODE_NOSRC; in post_lb()
1017 mdoc->last->flags = NODE_DELIMO | NODE_NOSRC; in post_lb()
1018 mdoc->last = mdoc->last->next; in post_lb()
1020 mdoc->last->flags = NODE_DELIMC | NODE_NOSRC; in post_lb()
1021 mdoc->last = n; in post_lb()
1032 n = mdoc->last; in post_rv()
1036 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1040 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1046 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1050 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1052 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1054 mdoc->last->flags |= NODE_NOSRC; in post_rv()
1055 mdoc->last = mdoc->last->parent; in post_rv()
1059 mdoc->last->flags |= NODE_EOS | NODE_NOSRC; in post_rv()
1060 mdoc->last = n; in post_rv()
1070 n = mdoc->last; in post_std()
1085 n = mdoc->last; in post_st()
1099 mdoc->last->flags |= NODE_NOSRC; in post_st()
1100 mdoc->last= n; in post_st()
1114 n = mdoc->last; in post_tg()
1227 n = mdoc->last; in post_obsolete()
1238 n = mdoc->last; in post_useless()
1257 np = mdoc->last; in post_bf()
1318 n = mdoc->last; in post_fname()
1349 n = mdoc->last; in post_fo()
1358 if (n->child != n->last) { in post_fo()
1362 while (n->child != n->last) in post_fo()
1363 roff_node_delete(mdoc, n->last); in post_fo()
1376 for (n = mdoc->last->child; n != NULL; n = n->next) { in post_fa()
1396 n = mdoc->last; in post_nm()
1402 if (n->last != NULL && n->last->tok == MDOC_Pp) in post_nm()
1403 roff_node_relink(mdoc, n->last); in post_nm()
1429 mdoc->last->flags |= NODE_NOSRC; in post_nm()
1430 mdoc->last = n; in post_nm()
1438 n = mdoc->last; in post_nd()
1459 n = mdoc->last; in post_display()
1505 n = mdoc->last; in post_defaults()
1514 mdoc->last->flags |= NODE_NOSRC; in post_defaults()
1524 mdoc->last->flags |= NODE_NOSRC; in post_defaults()
1525 mdoc->last = n; in post_defaults()
1534 n = mdoc->last; in post_at()
1554 mdoc->last->flags |= NODE_NOSRC; in post_at()
1555 mdoc->last = n; in post_at()
1565 np = mdoc->last; in post_an()
1582 tag_put(NULL, TAG_FALLBACK, mdoc->last); in post_em()
1589 if (mdoc->last->type == ROFFT_BLOCK) in post_en()
1590 mdoc->last->norm->Es = mdoc->last_es; in post_en()
1598 n = mdoc->last; in post_er()
1612 n = mdoc->last; in post_tag()
1628 mdoc->last_es = mdoc->last; in post_es()
1642 n = mdoc->last; in post_fl()
1663 n = mdoc->last; in post_xx()
1686 v = mdoc->last->string; in post_xx()
1688 mdoc->last->flags |= NODE_NOSRC; in post_xx()
1689 mdoc->last = n; in post_xx()
1702 mdoc->last->flags |= NODE_NOSRC; in post_xx()
1703 mdoc->last = n; in post_xx()
1715 nit = mdoc->last; in post_it()
1790 n = mdoc->last; in post_bl_block()
1794 nc = ni->body->last; in post_bl_block()
1816 nc = ni->body->last; in post_bl_block()
1853 nh = mdoc->last; in post_bl_head()
1915 nbody = mdoc->last; in post_bl()
1941 nchild = mdoc->last; in post_bl()
1943 if (nchild == mdoc->last) in post_bl()
1946 mdoc->last = nbody; in post_bl()
1952 mdoc->last = nbody; in post_bl()
1958 mdoc->last = nbody->parent->parent; in post_bl()
1961 mdoc->last = nbody->parent->prev; in post_bl()
1983 mdoc->last = nchild->prev; in post_bl()
1997 mdoc->last = nbody; in post_bl()
2035 n = mdoc->last; in post_bk()
2048 nch = mdoc->last->child; in post_sm()
2067 "%s %s", roff_name[mdoc->last->tok], nch->string); in post_sm()
2136 np = mdoc->last; in post_rs()
2228 n = mdoc->last; in post_hyph()
2251 n = mdoc->last; in post_ns()
2269 switch (mdoc->last->type) { in post_sh()
2301 for (n = mdoc->last->child; n != NULL; n = n->next) { in post_sh_name()
2334 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_name()
2337 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_name()
2348 n = mdoc->last->child; in post_sh_see_also()
2415 if ( ! child_an(mdoc->last)) in post_sh_authors()
2417 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_authors()
2477 sec = mdoc->last->sec; in post_sh_head()
2483 mdoc->last->line, mdoc->last->pos, "Sh %s", in post_sh_head()
2485 (nch = mdoc->last->child) == NULL ? "" : in post_sh_head()
2508 if ((nch = mdoc->last->child) == NULL || in post_sh_head()
2532 mandoc_msg(MANDOCERR_SEC_REP, mdoc->last->line, in post_sh_head()
2533 mdoc->last->pos, "Sh %s", secnames[sec]); in post_sh_head()
2536 mandoc_msg(MANDOCERR_SEC_ORDER, mdoc->last->line, in post_sh_head()
2537 mdoc->last->pos, "Sh %s", secnames[sec]); in post_sh_head()
2572 mdoc->last->line, mdoc->last->pos, in post_sh_head()
2585 n = mdoc->last; in post_xr()
2591 assert(nch->next == n->last); in post_xr()
2607 n = mdoc->last; in post_section()
2643 if ((nch = n->last) != NULL && in post_section()
2657 n = mdoc->last; in post_prevpar()
2690 np = mdoc->last; in post_par()
2701 n = mdoc->last; in post_dd()
2729 n = mdoc->last; in post_dt()
2827 n = mdoc->last; in post_bx()
2838 mdoc->last = nch; in post_bx()
2842 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2847 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2850 mdoc->last = n; in post_bx()
2855 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2858 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2860 mdoc->last->flags |= NODE_NOSRC; in post_bx()
2861 mdoc->last = n; in post_bx()
2881 n = mdoc->last; in post_os()