Lines Matching refs:ppos
483 struct mdoc *mdoc, int line, int ppos) in make_pending() argument
538 mandoc_vmsg(MANDOCERR_SCOPENEST, mdoc->parse, line, ppos, in make_pending()
554 enum mdoct tok, int line, int ppos) in rew_sub() argument
570 line, ppos, "%s breaks %s", in rew_sub()
580 if (make_pending(n, tok, mdoc, line, ppos) || in rew_sub()
585 mdoc_pmsg(mdoc, line, ppos, MANDOCERR_NOSCOPE); in rew_sub()
757 make_pending(later, tok, mdoc, line, ppos); in blk_exp_close()
763 if ( ! mdoc_endbody_alloc(mdoc, line, ppos, in blk_exp_close()
784 mdoc_pmsg(mdoc, line, ppos, MANDOCERR_ARGSLOST); in blk_exp_close()
786 if ( ! rew_sub(MDOC_BODY, mdoc, tok, line, ppos)) in blk_exp_close()
788 return(rew_sub(MDOC_BLOCK, mdoc, tok, line, ppos)); in blk_exp_close()
791 if ( ! rew_sub(MDOC_BODY, mdoc, tok, line, ppos)) in blk_exp_close()
795 if ( ! mdoc_tail_alloc(mdoc, line, ppos, rew_alt(tok))) in blk_exp_close()
802 if ( ! rew_sub(MDOC_BLOCK, mdoc, tok, line, ppos)) in blk_exp_close()
826 if ( ! rew_sub(MDOC_BLOCK, mdoc, tok, line, ppos)) in blk_exp_close()
838 if ( ! flushed && ! rew_sub(MDOC_BLOCK, mdoc, tok, line, ppos)) in blk_exp_close()
926 ppos, tok, arg)) in in_line()
932 mdoc_pmsg(mdoc, line, ppos, in in_line()
963 ppos, tok, arg)) in in_line()
978 if ( ! mdoc_elem_alloc(mdoc, line, ppos, tok, arg)) in in_line()
1012 if ( ! mdoc_elem_alloc(mdoc, line, ppos, tok, arg)) in in_line()
1018 mdoc_pmsg(mdoc, line, ppos, MANDOCERR_MACROEMPTY); in in_line()
1046 if ( ! rew_sub(MDOC_BODY, mdoc, tok, line, ppos)) in blk_full()
1048 if ( ! rew_sub(MDOC_BLOCK, mdoc, tok, line, ppos)) in blk_full()
1079 if ( ! mdoc_block_alloc(mdoc, line, ppos, tok, arg)) in blk_full()
1098 if ( ! mdoc_head_alloc(mdoc, line, ppos, tok)) in blk_full()
1101 if ( ! rew_sub(MDOC_HEAD, mdoc, tok, line, ppos)) in blk_full()
1103 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_full()
1135 if ( ! rew_sub(MDOC_BODY, mdoc, tok, line, ppos)) in blk_full()
1137 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_full()
1162 if ( ! mdoc_head_alloc(mdoc, line, ppos, tok)) in blk_full()
1176 if ( ! rew_sub(mtt, mdoc, tok, line, ppos)) in blk_full()
1181 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_full()
1219 if ( ! mdoc_head_alloc(mdoc, line, ppos, tok)) in blk_full()
1249 if ( ! rew_sub(MDOC_HEAD, mdoc, tok, line, ppos)) in blk_full()
1251 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_full()
1258 if ( ! rew_sub(MDOC_BODY, mdoc, tok, line, ppos)) in blk_full()
1260 if ( ! rew_sub(MDOC_BLOCK, mdoc, tok, line, ppos)) in blk_full()
1290 if ( ! mdoc_block_alloc(mdoc, line, ppos, tok, NULL)) in blk_part_imp()
1295 if ( ! mdoc_head_alloc(mdoc, line, ppos, tok)) in blk_part_imp()
1297 if ( ! rew_sub(MDOC_HEAD, mdoc, tok, line, ppos)) in blk_part_imp()
1325 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_part_imp()
1347 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_part_imp()
1381 make_pending(n, tok, mdoc, line, ppos); in blk_part_imp()
1382 if ( ! mdoc_endbody_alloc(mdoc, line, ppos, in blk_part_imp()
1396 mandoc_vmsg(MANDOCERR_SCOPENEST, mdoc->parse, line, ppos, in blk_part_imp()
1399 if (n && ! rew_sub(MDOC_BODY, mdoc, tok, line, ppos)) in blk_part_imp()
1409 if (n && ! rew_sub(MDOC_BLOCK, mdoc, tok, line, ppos)) in blk_part_imp()
1441 if ( ! mdoc_block_alloc(mdoc, line, ppos, tok, NULL)) in blk_part_exp()
1467 if ( ! mdoc_head_alloc(mdoc, line, ppos, tok)) in blk_part_exp()
1484 if ( ! rew_sub(MDOC_HEAD, mdoc, tok, line, ppos)) in blk_part_exp()
1486 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_part_exp()
1513 if ( ! mdoc_head_alloc(mdoc, line, ppos, tok)) in blk_part_exp()
1517 if ( ! rew_sub(MDOC_HEAD, mdoc, tok, line, ppos)) in blk_part_exp()
1519 if ( ! mdoc_body_alloc(mdoc, line, ppos, tok)) in blk_part_exp()
1670 rew_sub(MDOC_BLOCK, mdoc, MDOC_Nm, line, ppos); in in_line_eoln()
1693 if ( ! mdoc_elem_alloc(mdoc, line, ppos, tok, arg)) in in_line_eoln()
1737 return(in_line(mdoc, tok, line, ppos, pos, buf)); in ctx_synopsis()
1741 return(in_line(mdoc, tok, line, ppos, pos, buf)); in ctx_synopsis()
1749 return(blk_full(mdoc, tok, line, ppos, pos, buf)); in ctx_synopsis()
1751 return(blk_part_imp(mdoc, tok, line, ppos, pos, buf)); in ctx_synopsis()
1760 mdoc_pmsg(mdoc, line, ppos, MANDOCERR_MACROOBS); in obsolete()
1771 phrase(struct mdoc *mdoc, int line, int ppos, char *buf) in phrase() argument
1778 for (pos = ppos; ; ) { in phrase()
1820 mdoc_pmsg(mdoc, line, ppos, MANDOCERR_STRAYTA); in phrase_ta()
1825 if ( ! rew_sub(MDOC_BODY, mdoc, MDOC_It, line, ppos)) in phrase_ta()
1827 if ( ! mdoc_body_alloc(mdoc, line, ppos, MDOC_It)) in phrase_ta()