summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_macro.c
AgeCommit message (Expand)Author
2015-05-01mdoc_valid_post() may indirectly call roff_node_unlink() which mayIngo Schwarze
2015-05-01Setting the "last" member of struct roff_node was done at an extremelyIngo Schwarze
2015-05-01Minor bug fix: When .Pp rewinds .Nm, rewind the whole block,Ingo Schwarze
2015-04-29If a block body gets broken, that's no good reason to extend theIngo Schwarze
2015-04-29Do not mark a block with the MDOC_BROKEN flag if it merely containsIngo Schwarze
2015-04-23Get rid of two empty wrapper functions. No functional change.Ingo Schwarze
2015-04-21Avoid a use after free when the target node is deleted during validation.Ingo Schwarze
2015-04-19Unify trickier node handling functions.Ingo Schwarze
2015-04-19Unify some node handling functions that use TOKEN_NONE.Ingo Schwarze
2015-04-19Decouple the token code for "no request or macro" from the individualIngo Schwarze
2015-04-19Unify node handling functions:Ingo Schwarze
2015-04-18Replace the structs mdoc and man by a unified struct roff_man.Ingo Schwarze
2015-04-05If a partial explicit block extending to the next input line followsIngo Schwarze
2015-04-05Reduce code duplication, no functional change:Ingo Schwarze
2015-04-05Arguments to end macros of broken partial explicit blocksIngo Schwarze
2015-04-02Second step towards parser unification:Ingo Schwarze
2015-04-02First step towards parser unification:Ingo Schwarze
2015-02-12Delete the mdoc_node.pending pointer and the function calculatingIngo Schwarze
2015-02-11explicit blocks close out .Nd; fixing data structure corruptionIngo Schwarze
2015-02-10Be more careful to not generate empty .In, .St, and .Xr nodes.Ingo Schwarze
2015-02-07Closing a block validates it, which may end up deleting it,Ingo Schwarze
2015-02-06Delete the legacy generic warning type MANDOCERR_ARGCWARN,Ingo Schwarze
2015-02-06better handle .Fo and .Fd without argumentIngo Schwarze
2015-02-06better handle .In .Sh .Ss .St .Xr without argumentsIngo Schwarze
2015-02-05fix handling of empty .An macrosIngo Schwarze
2015-02-05Simplify by deleting the "lastline" member of struct mdoc_node.Ingo Schwarze
2015-02-04Discard excess head arguments for .Bd .Bl .Bk and delete hwarn_eq0().Ingo Schwarze
2015-02-04discard .Rs head arguments and improve .Rs diagnosticsIngo Schwarze
2015-02-03Avoid closing out an explicit block twice when broken by .ItIngo Schwarze
2015-02-03Finally delete the kitchensink functions rew_sub() and rew_dohalt().Ingo Schwarze
2015-02-03Bring .Pp/.Lp handling inside .Nm blocks closer to groff;Ingo Schwarze
2015-02-02Simplify and reindent make_pending(). No functional changeIngo Schwarze
2015-02-02Simplify: Do not call rew_dohalt() from make_pending(),Ingo Schwarze
2015-02-02Get rid of all remaining calls to rew_sub() where the target blockIngo Schwarze
2015-02-02Get rid of all calls to rew_sub() in blk_exp_close(); only ten callsIngo Schwarze
2015-02-02When a full block macro gets closed out by a mismatchingIngo Schwarze
2015-02-01get rid of rew_sub() in blk_part_imp(); no functional changeIngo Schwarze
2015-02-01Simplify blk_part_exp(), no functional change.Ingo Schwarze
2015-02-01The function rew_sub() tries to rewind any all all kinds of blocksIngo Schwarze
2014-12-22The code already pays attention not to close the same block twice.Ingo Schwarze
2014-12-20Fix two issues causing a class of assertion failures found by jsg@ with afl.Ingo Schwarze
2014-12-18Don't let .Ta creep into an already-closed list; same as for .It.Ingo Schwarze
2014-12-18The code is already careful to not add items to lists that wereIngo Schwarze
2014-12-13Fix a regression found by Carsten dot Kunze at arcor dot de:Ingo Schwarze
2014-11-30Multiple fixes with respect to .Pf:Ingo Schwarze
2014-11-30warn about attempts to call non-callable macros;Ingo Schwarze
2014-11-29Reduce code duplication by reusing the same argument parserIngo Schwarze
2014-11-29Provide a helper function macro_or_word() and use it to prune theIngo Schwarze
2014-11-28Fold the loop around mdoc_argv() into the function itself,Ingo Schwarze
2014-11-28Simplify by making the mdoc parser callbacks void, and some cleanup;Ingo Schwarze