summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_macro.c
AgeCommit message (Expand)Author
2016-08-20When a mismatching end macro occurs while at least two nested blocksIngo Schwarze
2016-08-20When scanning upwards for a column list to put a .Ta macro in,Ingo Schwarze
2016-08-13Even after switching from a pending head to the body, we have toIngo Schwarze
2015-10-20In order to become able to generate syntax tree nodes on the roff(7)Ingo Schwarze
2015-10-17Very tricky diff to fix macro interpretation and spacing around tabsIngo Schwarze
2015-10-15When blk_full() handles an .It line in .Bl -column and indirectlyIngo Schwarze
2015-10-12To make the code more readable, delete 283 /* FALLTHROUGH */ commentsIngo Schwarze
2015-10-06modernize style: "return" is not a function; ok cmp(1)Ingo Schwarze
2015-09-26/* NOTREACHED */ after abort() is silly, delete itIngo Schwarze
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