Lines Matching defs:line
207 if (ep->ln > mdoc->last->line)
218 n = node_alloc(mdoc, sp->line, 0, MDOC_MAX, MDOC_TBL);
225 * Main parse routine. Parses a single line -- really just hands off to
232 if (mdoc->last->type != MDOC_EQN || ln > mdoc->last->line)
259 mdoc->parse, line, ppos,
266 mdoc->parse, line, ppos, "%s %s",
274 (*mdoc_macros[tok].fp)(mdoc, tok, line, ppos, pos, buf);
357 node_alloc(struct mdoc *mdoc, int line, int pos,
364 p->line = line;
383 mdoc_tail_alloc(struct mdoc *mdoc, int line, int pos, enum mdoct tok)
387 p = node_alloc(mdoc, line, pos, tok, MDOC_TAIL);
393 mdoc_head_alloc(struct mdoc *mdoc, int line, int pos, enum mdoct tok)
399 p = node_alloc(mdoc, line, pos, tok, MDOC_HEAD);
406 mdoc_body_alloc(struct mdoc *mdoc, int line, int pos, enum mdoct tok)
410 p = node_alloc(mdoc, line, pos, tok, MDOC_BODY);
417 mdoc_endbody_alloc(struct mdoc *mdoc, int line, int pos, enum mdoct tok,
424 p = node_alloc(mdoc, line, pos, tok, MDOC_BODY);
434 mdoc_block_alloc(struct mdoc *mdoc, int line, int pos,
439 p = node_alloc(mdoc, line, pos, tok, MDOC_BLOCK);
465 mdoc_elem_alloc(struct mdoc *mdoc, int line, int pos,
470 p = node_alloc(mdoc, line, pos, tok, MDOC_ELEM);
487 mdoc_word_alloc(struct mdoc *mdoc, int line, int pos, const char *p)
491 n = node_alloc(mdoc, line, pos, MDOC_MAX, MDOC_TEXT);
585 * Parse free-form text, that is, a line that does not begin with the
589 mdoc_ptext(struct mdoc *mdoc, int line, char *buf, int offs)
608 mdoc_macro(mdoc, MDOC_It, line, offs, &offs, buf);
618 mdoc_macro(mdoc, MDOC_It, line, offs, &offs, buf);
639 * where they should be put on the next line.
645 * outside, they affect the next line.
665 line, (int)(ws-buf), NULL);
669 line, (int)(c - buf), NULL);
672 * Insert a `sp' in the case of a blank line. Technically,
676 mdoc_elem_alloc(mdoc, line, offs, MDOC_sp, NULL);
682 mdoc_word_alloc(mdoc, line, offs, buf+offs);
701 * Parse a macro line, that is, a line beginning with the control