Lines Matching refs:last

326 	n = mdoc->last;
351 if (n->last != NULL)
352 n->last->flags &= ~MDOC_DELIMO;
406 for (node = mdoc->last->parent; node; node = node->parent)
779 np = mdoc->last;
837 n = mdoc->last->child;
855 n = mdoc->last;
870 n = mdoc->last->child;
891 n = mdoc->last;
901 if (n->child != n->last) {
905 while (n->child != n->last)
906 mdoc_node_delete(mdoc, n->last);
918 for (n = mdoc->last->child; n != NULL; n = n->next) {
946 if (MDOC_BODY != mdoc->last->type)
949 for (n = mdoc->last->child; n; n = n->next)
960 n = mdoc->last;
962 if (n->last != NULL &&
963 (n->last->tok == MDOC_Pp ||
964 n->last->tok == MDOC_Lp))
965 mdoc_node_relink(mdoc, n->last);
982 n = mdoc->last;
999 n = mdoc->last;
1016 n = mdoc->last;
1044 if (mdoc->last->child)
1047 nn = mdoc->last;
1064 mdoc->last = nn;
1074 n = mdoc->last;
1078 mdoc->last = n;
1106 np = mdoc->last;
1121 if (MDOC_BLOCK == mdoc->last->type)
1122 mdoc->last->norm->Es = mdoc->last_es;
1129 mdoc->last_es = mdoc->last;
1139 nit = mdoc->last;
1213 n = mdoc->last;
1224 nc = ni->body->last;
1251 nc = ni->body->last;
1295 n = mdoc->last;
1351 nh = mdoc->last;
1413 nbody = mdoc->last;
1463 nbody->last = NULL;
1494 n = mdoc->last;
1508 nch = mdoc->last->child;
1528 "%s %s", mdoc_macronames[mdoc->last->tok], nch->string);
1579 n = mdoc->last;
1600 np = mdoc->last;
1694 for (nch = mdoc->last->child; nch != NULL; nch = nch->next) {
1712 if (MDOC_LINE & mdoc->last->flags)
1714 mdoc->last->line, mdoc->last->pos, NULL);
1723 switch (mdoc->last->type) {
1755 for (n = mdoc->last->child; n != NULL; n = n->next) {
1779 mdoc->last->line, mdoc->last->pos, NULL);
1782 mdoc->last->line, mdoc->last->pos, NULL);
1793 n = mdoc->last->child;
1861 if ( ! child_an(mdoc->last))
1863 mdoc->last->line, mdoc->last->pos, NULL);
1883 mdoc_deroff(&secname, mdoc->last);
1890 mdoc->last->line, mdoc->last->pos,
1903 /* Mark our last section. */
1916 mdoc->last->parent->sec = sec;
1917 mdoc->last->sec = sec;
1918 for (n = mdoc->last->child; n; n = n->next)
1935 mdoc->last->line, mdoc->last->pos,
1940 mdoc->last->line, mdoc->last->pos,
1943 /* Mark the last named section. */
1977 mdoc->last->line, mdoc->last->pos,
1991 switch (mdoc->last->type) {
2001 if (NULL != (np = mdoc->last->child))
2006 mdoc_macronames[mdoc->last->tok]);
2010 if (NULL != (np = mdoc->last->last))
2015 mdoc_macronames[mdoc->last->tok]);
2024 if (NULL == mdoc->last)
2034 if (MDOC_Pp != mdoc->last->tok &&
2035 MDOC_Lp != mdoc->last->tok &&
2036 MDOC_br != mdoc->last->tok)
2046 mdoc->last->line, mdoc->last->pos,
2047 "%s before %s", mdoc_macronames[mdoc->last->tok],
2049 mdoc_node_delete(mdoc, mdoc->last);
2057 np = mdoc->last;
2069 if (NULL == (np = mdoc->last->prev)) {
2070 np = mdoc->last->parent;
2074 (MDOC_br != mdoc->last->tok ||
2079 mdoc->last->line, mdoc->last->pos,
2080 "%s after %s", mdoc_macronames[mdoc->last->tok],
2082 mdoc_node_delete(mdoc, mdoc->last);
2124 n = mdoc->last;
2151 n = mdoc->last;
2240 n = mdoc->last->child;
2254 n = mdoc->last;
2304 n = mdoc->last;
2317 mdoc->last = n;