Lines Matching refs:last

286 	n = mdoc->last;
287 mdoc->last = mdoc->last->child;
288 while (mdoc->last != NULL) {
290 if (mdoc->last == n)
291 mdoc->last = mdoc->last->child;
293 mdoc->last = mdoc->last->next;
296 mdoc->last = n;
310 check_args(mdoc, mdoc->last);
320 if (n->last != NULL)
321 n->last->flags &= ~MDOC_DELIMO;
328 if (mdoc->last == n)
378 n = mdoc->last->parent;
553 n = mdoc->last;
628 n = mdoc->last;
653 n = mdoc->last;
667 n = mdoc->last;
683 np = mdoc->last;
745 n = mdoc->last->child;
763 n = mdoc->last;
778 n = mdoc->last->child;
799 n = mdoc->last;
809 if (n->child != n->last) {
813 while (n->child != n->last)
814 roff_node_delete(mdoc, n->last);
826 for (n = mdoc->last->child; n != NULL; n = n->next) {
846 n = mdoc->last;
848 if (n->last != NULL &&
849 (n->last->tok == MDOC_Pp ||
850 n->last->tok == MDOC_Lp))
851 mdoc_node_relink(mdoc, n->last);
868 n = mdoc->last;
885 n = mdoc->last;
936 if (mdoc->last->child != NULL)
939 nn = mdoc->last;
955 mdoc->last = nn;
965 n = mdoc->last;
969 mdoc->last = n;
999 np = mdoc->last;
1015 if (mdoc->last->type == ROFFT_BLOCK)
1016 mdoc->last->norm->Es = mdoc->last_es;
1024 mdoc->last_es = mdoc->last;
1036 nit = mdoc->last;
1106 n = mdoc->last;
1117 nc = ni->body->last;
1142 nc = ni->body->last;
1186 n = mdoc->last;
1244 nh = mdoc->last;
1305 nbody = mdoc->last;
1357 nbody->last = NULL;
1384 n = mdoc->last;
1398 nch = mdoc->last->child;
1418 "%s %s", mdoc_macronames[mdoc->last->tok], nch->string);
1470 n = mdoc->last;
1491 np = mdoc->last;
1585 for (nch = mdoc->last->child; nch != NULL; nch = nch->next) {
1603 if (mdoc->last->flags & MDOC_LINE)
1605 mdoc->last->line, mdoc->last->pos, NULL);
1614 switch (mdoc->last->type) {
1646 for (n = mdoc->last->child; n != NULL; n = n->next) {
1670 mdoc->last->line, mdoc->last->pos, NULL);
1673 mdoc->last->line, mdoc->last->pos, NULL);
1684 n = mdoc->last->child;
1754 if ( ! child_an(mdoc->last))
1756 mdoc->last->line, mdoc->last->pos, NULL);
1772 sec = mdoc->last->sec;
1778 mdoc->last->line, mdoc->last->pos,
1791 /* Mark our last section. */
1807 mdoc->last->line, mdoc->last->pos,
1812 mdoc->last->line, mdoc->last->pos,
1815 /* Mark the last named section. */
1846 mdoc->last->line, mdoc->last->pos,
1859 switch (mdoc->last->type) {
1869 if ((np = mdoc->last->child) != NULL)
1874 mdoc_macronames[mdoc->last->tok]);
1878 if ((np = mdoc->last->last) != NULL)
1883 mdoc_macronames[mdoc->last->tok]);
1893 n = mdoc->last;
1927 np = mdoc->last;
1941 if ((np = mdoc->last->prev) == NULL) {
1942 np = mdoc->last->parent;
1946 (mdoc->last->tok != MDOC_br ||
1951 mdoc->last->line, mdoc->last->pos,
1952 "%s after %s", mdoc_macronames[mdoc->last->tok],
1954 roff_node_delete(mdoc, mdoc->last);
1963 n = mdoc->last;
2004 n = mdoc->last;
2105 if ((n = mdoc->last->child) != NULL && (n = n->next) != NULL)
2118 n = mdoc->last;
2176 n = mdoc->last;
2188 mdoc->last = n;