summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Reduce code duplication by reusing the same argument parserIngo Schwarze2014-11-291-18/+20
* Provide a helper function macro_or_word() and use it to prune theIngo Schwarze2014-11-291-115/+62
* Fold the loop around mdoc_argv() into the function itself,Ingo Schwarze2014-11-281-46/+4
* Simplify by making the mdoc parser callbacks void, and some cleanup;Ingo Schwarze2014-11-281-198/+116
* Simplify the code by making various mdoc parser helper functions void.Ingo Schwarze2014-11-281-375/+233
* Simplify code by making mdoc validation handlers void.Ingo Schwarze2014-11-281-52/+44
* Multiple fixes with respect to .Eo:Ingo Schwarze2014-11-271-7/+27
* The .Sm macro accepts at most one argument;Ingo Schwarze2014-11-261-1/+1