Lines Matching refs:last

326 	n = mdoc->last;  in mdoc_valid_post()
351 if (n->last != NULL) in mdoc_valid_post()
352 n->last->flags &= ~MDOC_DELIMO; in mdoc_valid_post()
406 for (node = mdoc->last->parent; node; node = node->parent) in pre_display()
779 np = mdoc->last; in post_bf()
837 n = mdoc->last->child; in post_lb()
855 n = mdoc->last; in post_eoln()
870 n = mdoc->last->child; in post_fname()
891 n = mdoc->last; in post_fo()
901 if (n->child != n->last) { in post_fo()
905 while (n->child != n->last) in post_fo()
906 mdoc_node_delete(mdoc, n->last); in post_fo()
918 for (n = mdoc->last->child; n != NULL; n = n->next) { in post_fa()
946 if (MDOC_BODY != mdoc->last->type) in post_vt()
949 for (n = mdoc->last->child; n; n = n->next) in post_vt()
960 n = mdoc->last; in post_nm()
962 if (n->last != NULL && in post_nm()
963 (n->last->tok == MDOC_Pp || in post_nm()
964 n->last->tok == MDOC_Lp)) in post_nm()
965 mdoc_node_relink(mdoc, n->last); in post_nm()
982 n = mdoc->last; in post_nd()
999 n = mdoc->last; in post_d1()
1016 n = mdoc->last; in post_literal()
1044 if (mdoc->last->child) in post_defaults()
1047 nn = mdoc->last; in post_defaults()
1064 mdoc->last = nn; in post_defaults()
1074 n = mdoc->last; in post_at()
1078 mdoc->last = n; in post_at()
1106 np = mdoc->last; in post_an()
1121 if (MDOC_BLOCK == mdoc->last->type) in post_en()
1122 mdoc->last->norm->Es = mdoc->last_es; in post_en()
1129 mdoc->last_es = mdoc->last; in post_es()
1139 nit = mdoc->last; in post_it()
1213 n = mdoc->last; in post_bl_block()
1224 nc = ni->body->last; in post_bl_block()
1251 nc = ni->body->last; in post_bl_block()
1295 n = mdoc->last; in post_bl_block_tag()
1351 nh = mdoc->last; in post_bl_head()
1413 nbody = mdoc->last; in post_bl()
1463 nbody->last = NULL; in post_bl()
1494 n = mdoc->last; in post_bk()
1508 nch = mdoc->last->child; in post_sm()
1528 "%s %s", mdoc_macronames[mdoc->last->tok], nch->string); in post_sm()
1579 n = mdoc->last; in post_st()
1600 np = mdoc->last; in post_rs()
1694 for (nch = mdoc->last->child; nch != NULL; nch = nch->next) { in post_hyph()
1712 if (MDOC_LINE & mdoc->last->flags) in post_ns()
1714 mdoc->last->line, mdoc->last->pos, NULL); in post_ns()
1723 switch (mdoc->last->type) { in post_sh()
1755 for (n = mdoc->last->child; n != NULL; n = n->next) { in post_sh_name()
1779 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_name()
1782 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_name()
1793 n = mdoc->last->child; in post_sh_see_also()
1861 if ( ! child_an(mdoc->last)) in post_sh_authors()
1863 mdoc->last->line, mdoc->last->pos, NULL); in post_sh_authors()
1883 mdoc_deroff(&secname, mdoc->last); in post_sh_head()
1890 mdoc->last->line, mdoc->last->pos, in post_sh_head()
1916 mdoc->last->parent->sec = sec; in post_sh_head()
1917 mdoc->last->sec = sec; in post_sh_head()
1918 for (n = mdoc->last->child; n; n = n->next) in post_sh_head()
1935 mdoc->last->line, mdoc->last->pos, in post_sh_head()
1940 mdoc->last->line, mdoc->last->pos, in post_sh_head()
1977 mdoc->last->line, mdoc->last->pos, in post_sh_head()
1991 switch (mdoc->last->type) { in post_ignpar()
2001 if (NULL != (np = mdoc->last->child)) in post_ignpar()
2006 mdoc_macronames[mdoc->last->tok]); in post_ignpar()
2010 if (NULL != (np = mdoc->last->last)) in post_ignpar()
2015 mdoc_macronames[mdoc->last->tok]); in post_ignpar()
2024 if (NULL == mdoc->last) in pre_par()
2034 if (MDOC_Pp != mdoc->last->tok && in pre_par()
2035 MDOC_Lp != mdoc->last->tok && in pre_par()
2036 MDOC_br != mdoc->last->tok) in pre_par()
2046 mdoc->last->line, mdoc->last->pos, in pre_par()
2047 "%s before %s", mdoc_macronames[mdoc->last->tok], in pre_par()
2049 mdoc_node_delete(mdoc, mdoc->last); in pre_par()
2057 np = mdoc->last; in post_par()
2069 if (NULL == (np = mdoc->last->prev)) { in post_par()
2070 np = mdoc->last->parent; in post_par()
2074 (MDOC_br != mdoc->last->tok || in post_par()
2079 mdoc->last->line, mdoc->last->pos, in post_par()
2080 "%s after %s", mdoc_macronames[mdoc->last->tok], in post_par()
2082 mdoc_node_delete(mdoc, mdoc->last); in post_par()
2124 n = mdoc->last; in post_dd()
2151 n = mdoc->last; in post_dt()
2240 n = mdoc->last->child; in post_bx()
2254 n = mdoc->last; in post_os()
2304 n = mdoc->last; in post_ex()
2317 mdoc->last = n; in post_ex()