summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
Commit message (Expand)AuthorAgeFilesLines
* When blk_full() handles an .It line in .Bl -column and indirectlyIngo Schwarze2015-10-151-0/+5
* To make the code more readable, delete 283 /* FALLTHROUGH */ commentsIngo Schwarze2015-10-121-10/+0
* modernize style: "return" is not a functionIngo Schwarze2015-10-061-24/+24
* /* NOTREACHED */ after abort() is silly, delete itIngo Schwarze2015-09-261-1/+0
* mdoc_valid_post() may indirectly call roff_node_unlink() which mayIngo Schwarze2015-05-011-1/+1
* Setting the "last" member of struct roff_node was done at an extremelyIngo Schwarze2015-05-011-3/+1
* Minor bug fix: When .Pp rewinds .Nm, rewind the whole block,Ingo Schwarze2015-05-011-1/+1
* If a block body gets broken, that's no good reason to extend theIngo Schwarze2015-04-291-1/+3
* Do not mark a block with the MDOC_BROKEN flag if it merely containsIngo Schwarze2015-04-291-0/+2
* Get rid of two empty wrapper functions. No functional change.Ingo Schwarze2015-04-231-1/+1
* Avoid a use after free when the target node is deleted during validation.Ingo Schwarze2015-04-211-12/+15
* Unify trickier node handling functions.Ingo Schwarze2015-04-191-3/+3
* Unify some node handling functions that use TOKEN_NONE.Ingo Schwarze2015-04-191-2/+2
* Decouple the token code for "no request or macro" from the individualIngo Schwarze2015-04-191-17/+18
* Unify node handling functions:Ingo Schwarze2015-04-191-16/+17
* Replace the structs mdoc and man by a unified struct roff_man.Ingo Schwarze2015-04-181-20/+21
* If a partial explicit block extending to the next input line followsIngo Schwarze2015-04-051-3/+15
* Reduce code duplication, no functional change:Ingo Schwarze2015-04-051-50/+44
* Arguments to end macros of broken partial explicit blocksIngo Schwarze2015-04-051-9/+7
* Second step towards parser unification:Ingo Schwarze2015-04-021-39/+37
* First step towards parser unification:Ingo Schwarze2015-04-021-19/+20
* Delete the mdoc_node.pending pointer and the function calculatingIngo Schwarze2015-02-121-109/+77
* explicit blocks close out .Nd; fixing data structure corruptionIngo Schwarze2015-02-111-0/+7
* Be more careful to not generate empty .In, .St, and .Xr nodes.Ingo Schwarze2015-02-101-33/+43
* Closing a block validates it, which may end up deleting it,Ingo Schwarze2015-02-071-0/+1
* Delete the legacy generic warning type MANDOCERR_ARGCWARN,Ingo Schwarze2015-02-061-2/+3
* better handle .Fo and .Fd without argumentIngo Schwarze2015-02-061-0/+6
* better handle .In .Sh .Ss .St .Xr without argumentsIngo Schwarze2015-02-061-0/+11
* fix handling of empty .An macrosIngo Schwarze2015-02-051-1/+1
* Simplify by deleting the "lastline" member of struct mdoc_node.Ingo Schwarze2015-02-051-7/+1
* Discard excess head arguments for .Bd .Bl .Bk and delete hwarn_eq0().Ingo Schwarze2015-02-041-1/+7
* discard .Rs head arguments and improve .Rs diagnosticsIngo Schwarze2015-02-041-3/+8
* Avoid closing out an explicit block twice when broken by .ItIngo Schwarze2015-02-031-0/+1
* Finally delete the kitchensink functions rew_sub() and rew_dohalt().Ingo Schwarze2015-02-031-159/+74
* Bring .Pp/.Lp handling inside .Nm blocks closer to groff;Ingo Schwarze2015-02-031-3/+10
* Simplify and reindent make_pending(). No functional changeIngo Schwarze2015-02-021-56/+49
* Simplify: Do not call rew_dohalt() from make_pending(),Ingo Schwarze2015-02-021-30/+20
* Get rid of all remaining calls to rew_sub() where the target blockIngo Schwarze2015-02-021-65/+36
* Get rid of all calls to rew_sub() in blk_exp_close(); only ten callsIngo Schwarze2015-02-021-64/+66
* When a full block macro gets closed out by a mismatchingIngo Schwarze2015-02-021-3/+6
* get rid of rew_sub() in blk_part_imp(); no functional changeIngo Schwarze2015-02-011-2/+13
* Simplify blk_part_exp(), no functional change.Ingo Schwarze2015-02-011-23/+7
* The function rew_sub() tries to rewind any all all kinds of blocksIngo Schwarze2015-02-011-4/+3
* The code already pays attention not to close the same block twice.Ingo Schwarze2014-12-221-2/+2
* Fix two issues causing a class of assertion failures found by jsg@ with afl.Ingo Schwarze2014-12-201-8/+19
* Don't let .Ta creep into an already-closed list; same as for .It.Ingo Schwarze2014-12-181-1/+2
* The code is already careful to not add items to lists that wereIngo Schwarze2014-12-181-20/+31
* Fix a regression found by Carsten dot Kunze at arcor dot de:Ingo Schwarze2014-12-131-4/+2
* Multiple fixes with respect to .Pf:Ingo Schwarze2014-11-301-6/+16
* warn about attempts to call non-callable macros;Ingo Schwarze2014-11-301-8/+16