Lines Matching refs:tok
87 roff_body_alloc(man, line, offs, man->last->tok);
113 if (man->last->tok != MAN_SH &&
114 man->last->tok != MAN_SS) {
163 int tok;
181 tok = (i > 0 && i < 4) ? man_hash_find(mac) : TOKEN_NONE;
183 if (tok == TOKEN_NONE) {
223 man_breakscope(man, tok);
228 assert(man_macros[tok].fp);
229 (*man_macros[tok].fp)(man, tok, ln, ppos, &offs, buf);
233 if (man->quick && tok == MAN_SH) {
247 man_macros[tok].flags & MAN_NSCOPED)
254 roff_body_alloc(man, ln, ppos, man->last->tok);
259 man_breakscope(struct roff_man *man, int tok)
269 if (man->flags & MAN_ELINE && (tok == TOKEN_NONE ||
270 ! (man_macros[tok].flags & MAN_NSCOPED))) {
273 if (man_macros[n->tok].flags & MAN_NSCOPED)
278 tok == TOKEN_NONE ? "TS" : man_macronames[tok],
279 man_macronames[n->tok]);
291 (tok == MAN_nf || tok == MAN_fi) &&
292 (man->last->tok == MAN_SH || man->last->tok == MAN_SS)) {
295 roff_body_alloc(man, n->line, n->pos, n->tok);
305 if (man->flags & MAN_BLINE && (tok == TOKEN_NONE ||
306 man_macros[tok].flags & MAN_BSCOPE)) {
310 if ( ! (man_macros[n->tok].flags & MAN_BSCOPE))
316 assert(man_macros[n->tok].flags & MAN_SCOPED);
320 tok == TOKEN_NONE ? "TS" : man_macronames[tok],
321 man_macronames[n->tok]);
340 switch(n->tok) {