summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Do not access a NULL pointer when a section has no body,Ingo Schwarze2014-11-251-1/+3
* Fix two minibugs reported by Thomas Klausner <wiz at NetBSD>:Ingo Schwarze2014-11-201-1/+4
* Multiple fixes with respect to in-line macros:Ingo Schwarze2014-11-171-24/+50
* Allow .ll in the prologue; Daniel Levai reports Slackware Linux uses this.Ingo Schwarze2014-09-071-2/+2
* Right after .Fl, a middle delimiter triggers an empty scope,Ingo Schwarze2014-08-211-13/+12
* If a stray .It follows .El, we are no longer in the list,Ingo Schwarze2014-08-161-1/+2
* Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.Ingo Schwarze2014-08-101-2/+2
* mention requests and macros in more messagesIngo Schwarze2014-08-011-1/+1
* Get rid of the useless FATAL error "child violates parent syntax".Ingo Schwarze2014-07-301-0/+18
* Clean up ERROR messages related to document structure and macros:Ingo Schwarze2014-07-071-5/+9
* Clean up messages regarding excess arguments:Ingo Schwarze2014-07-041-5/+6
* Improve and test the messages about empty macros,Ingo Schwarze2014-07-021-3/+5
* Clean up warnings related to macros and nesting.Ingo Schwarze2014-07-021-13/+4