Lines Matching full:last

300 /* Validate the subtree rooted at mdoc->last. */
313 n = mdoc->last;
331 mdoc->last = mdoc->last->child;
332 while (mdoc->last != NULL) {
334 if (mdoc->last == n)
335 mdoc->last = mdoc->last->child;
337 mdoc->last = mdoc->last->next;
342 mdoc->last = n;
366 check_args(mdoc, mdoc->last);
376 if (n->last != NULL)
377 n->last->flags &= ~NODE_DELIMO;
390 if (mdoc->last == n)
423 if (mdoc->last->flags & NODE_NOFILL)
436 np = mdoc->last->prev;
437 nn = mdoc->last->next;
525 tok = mdoc->last->tok;
526 nch = mdoc->last->last;
541 nch == mdoc->last->child ? "" : " ...", nch->string);
555 * the last one a closing or middle delimiter.
558 tok = mdoc->last->tok;
559 nch = mdoc->last->last;
634 nch == mdoc->last->child ? "" : " ...", nch->string);
646 n = mdoc->last->parent;
815 n = mdoc->last;
888 n = mdoc->last;
913 n = mdoc->last;
923 mdoc->last->flags |= NODE_EOS | NODE_NOSRC;
924 mdoc->last = n;
933 n = mdoc->last->next;
936 mdoc->last->flags |= NODE_NOSRC;
938 n = mdoc->last = mdoc->last->parent;
944 mdoc->last->flags |= NODE_DELIMC | NODE_NOSRC;
946 n = mdoc->last->next;
949 mdoc->last->flags |= NODE_NOSRC;
962 n = mdoc->last;
965 mdoc->last->flags |= NODE_NOSRC;
967 if (mdoc->last->next != NULL)
971 mdoc->last->flags |= NODE_NOSRC;
973 mdoc->last->flags |= NODE_NOSRC;
974 mdoc->last = mdoc->last->parent;
984 mdoc->last->flags |= NODE_NOSRC;
987 mdoc->last->flags |= NODE_EOS | NODE_NOSRC;
988 mdoc->last = n;
999 n = mdoc->last;
1006 mdoc->last->flags = NODE_NOSRC;
1007 mdoc->last = n;
1015 mdoc->last->flags = NODE_NOSRC;
1017 mdoc->last->flags = NODE_DELIMO | NODE_NOSRC;
1018 mdoc->last = mdoc->last->next;
1020 mdoc->last->flags = NODE_DELIMC | NODE_NOSRC;
1021 mdoc->last = n;
1032 n = mdoc->last;
1036 mdoc->last->flags |= NODE_NOSRC;
1040 mdoc->last->flags |= NODE_NOSRC;
1046 mdoc->last->flags |= NODE_NOSRC;
1050 mdoc->last->flags |= NODE_NOSRC;
1052 mdoc->last->flags |= NODE_NOSRC;
1054 mdoc->last->flags |= NODE_NOSRC;
1055 mdoc->last = mdoc->last->parent;
1059 mdoc->last->flags |= NODE_EOS | NODE_NOSRC;
1060 mdoc->last = n;
1070 n = mdoc->last;
1085 n = mdoc->last;
1099 mdoc->last->flags |= NODE_NOSRC;
1100 mdoc->last= n;
1114 n = mdoc->last;
1228 n = mdoc->last;
1239 n = mdoc->last;
1258 np = mdoc->last;
1319 n = mdoc->last;
1350 n = mdoc->last;
1359 if (n->child != n->last) {
1363 while (n->child != n->last)
1364 roff_node_delete(mdoc, n->last);
1377 for (n = mdoc->last->child; n != NULL; n = n->next) {
1397 n = mdoc->last;
1403 if (n->last != NULL && n->last->tok == MDOC_Pp)
1404 roff_node_relink(mdoc, n->last);
1430 mdoc->last->flags |= NODE_NOSRC;
1431 mdoc->last = n;
1439 n = mdoc->last;
1460 n = mdoc->last;
1506 n = mdoc->last;
1515 mdoc->last->flags |= NODE_NOSRC;
1525 mdoc->last->flags |= NODE_NOSRC;
1526 mdoc->last = n;
1535 n = mdoc->last;
1555 mdoc->last->flags |= NODE_NOSRC;
1556 mdoc->last = n;
1566 np = mdoc->last;
1583 tag_put(NULL, TAG_FALLBACK, mdoc->last);
1590 if (mdoc->last->type == ROFFT_BLOCK)
1591 mdoc->last->norm->Es = mdoc->last_es;
1599 n = mdoc->last;
1613 n = mdoc->last;
1629 mdoc->last_es = mdoc->last;
1643 n = mdoc->last;
1664 n = mdoc->last;
1687 v = mdoc->last->string;
1689 mdoc->last->flags |= NODE_NOSRC;
1690 mdoc->last = n;
1703 mdoc->last->flags |= NODE_NOSRC;
1704 mdoc->last = n;
1716 nit = mdoc->last;
1791 n = mdoc->last;
1795 nc = ni->body->last;
1817 nc = ni->body->last;
1898 nh = mdoc->last;
1960 nbody = mdoc->last;
1986 nchild = mdoc->last;
1988 if (nchild == mdoc->last)
1991 mdoc->last = nbody;
1997 mdoc->last = nbody;
2003 mdoc->last = nbody->parent->parent;
2006 mdoc->last = nbody->parent->prev;
2028 mdoc->last = nchild->prev;
2042 mdoc->last = nbody;
2080 n = mdoc->last;
2093 nch = mdoc->last->child;
2112 "%s %s", roff_name[mdoc->last->tok], nch->string);
2181 np = mdoc->last;
2273 n = mdoc->last;
2296 n = mdoc->last;
2314 switch (mdoc->last->type) {
2346 for (n = mdoc->last->child; n != NULL; n = n->next) {
2379 mdoc->last->line, mdoc->last->pos, NULL);
2382 mdoc->last->line, mdoc->last->pos, NULL);
2393 n = mdoc->last->child;
2460 if ( ! child_an(mdoc->last))
2462 mdoc->last->line, mdoc->last->pos, NULL);
2522 sec = mdoc->last->sec;
2528 mdoc->last->line, mdoc->last->pos, "Sh %s",
2530 (nch = mdoc->last->child) == NULL ? "" :
2546 /* Mark our last section. */
2553 if ((nch = mdoc->last->child) == NULL ||
2577 mandoc_msg(MANDOCERR_SEC_REP, mdoc->last->line,
2578 mdoc->last->pos, "Sh %s", secnames[sec]);
2581 mandoc_msg(MANDOCERR_SEC_ORDER, mdoc->last->line,
2582 mdoc->last->pos, "Sh %s", secnames[sec]);
2584 /* Mark the last named section. */
2615 mdoc->last->line, mdoc->last->pos,
2628 n = mdoc->last;
2634 assert(nch->next == n->last);
2650 n = mdoc->last;
2686 if ((nch = n->last) != NULL &&
2700 n = mdoc->last;
2733 np = mdoc->last;
2744 n = mdoc->last;
2772 n = mdoc->last;
2870 n = mdoc->last;
2881 mdoc->last = nch;
2885 mdoc->last->flags |= NODE_NOSRC;
2890 mdoc->last->flags |= NODE_NOSRC;
2893 mdoc->last = n;
2898 mdoc->last->flags |= NODE_NOSRC;
2901 mdoc->last->flags |= NODE_NOSRC;
2903 mdoc->last->flags |= NODE_NOSRC;
2904 mdoc->last = n;
2923 n = mdoc->last;