Lines Matching +defs:start +defs:line
47 if (man->last->type != ROFFT_EQN || ln > man->last->line)
60 man_hasc(char *start)
64 ep = strchr(start, '\0') - 2;
65 if (ep < start || ep[0] != '\\' || ep[1] != 'c')
67 for (cp = ep; cp > start; cp--)
74 * Rewind all open next-line scopes.
77 man_descope(struct roff_man *man, int line, int offs, char *start)
79 /* First close out all next-line element scopes, if any. */
88 /* Trailing \c keeps next-line block scope open. */
90 if (start != NULL && man_hasc(start) != NULL)
93 /* Close out the next-line block scope, if there is one. */
98 roff_body_alloc(man, line, offs, man->last->tok);
103 man_ptext(struct roff_man *man, int line, char *buf, int offs)
111 roff_word_alloc(man, line, offs, buf + offs);
112 man_descope(man, line, offs, buf + offs);
120 * Blank lines are ignored in next line scope
127 mandoc_msg(MANDOCERR_BLK_BLANK, line, 0, NULL);
137 roff_elem_alloc(man, line, offs, ROFF_sp);
152 mandoc_msg(MANDOCERR_SPACE_EOL, line, i - 1, NULL);
162 roff_word_alloc(man, line, offs, buf + offs);
174 man_descope(man, line, offs, buf + offs);
188 /* Determine the line macro. */
230 * Some macros break next-line scopes; otherwise, remember
231 * whether we are in next-line scope for a block head.
238 * If the line in next-line scope ends with \c, keep the
239 * next-line scope open for the subsequent input line.
262 * If we are in a next-line scope for a block head,
264 * unless the next-line scope is allowed to continue.
280 * Rewind open next-line scopes
289 * An element next line scope is open,
304 mandoc_msg(MANDOCERR_BLK_LINE, n->line, n->pos,
326 roff_body_alloc(man, n->line, n->pos, n->tok);
331 * A block header next line scope is open,
350 mandoc_msg(MANDOCERR_BLK_LINE, n->line, n->pos,