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