summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_macro.c
AgeCommit message (Expand)Author
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
2014-12-18Don't let .Ta creep into an already-closed list; same as for .It.Ingo Schwarze
2014-12-18The code is already careful to not add items to lists that wereIngo Schwarze
2014-12-13Fix a regression found by Carsten dot Kunze at arcor dot de:Ingo Schwarze
2014-11-30Multiple fixes with respect to .Pf:Ingo Schwarze
2014-11-30warn about attempts to call non-callable macros;Ingo Schwarze
2014-11-29Reduce code duplication by reusing the same argument parserIngo Schwarze
2014-11-29Provide a helper function macro_or_word() and use it to prune theIngo Schwarze
2014-11-28Fold the loop around mdoc_argv() into the function itself,Ingo Schwarze
2014-11-28Simplify by making the mdoc parser callbacks void, and some cleanup;Ingo Schwarze
2014-11-28Simplify the code by making various mdoc parser helper functions void.Ingo Schwarze
2014-11-28Simplify code by making mdoc validation handlers void.Ingo Schwarze
2014-11-27Multiple fixes with respect to .Eo:Ingo Schwarze
2014-11-26The .Sm macro accepts at most one argument;Ingo Schwarze
2014-11-25Do not access a NULL pointer when a section has no body,Ingo Schwarze
2014-11-20Fix two minibugs reported by Thomas Klausner <wiz at NetBSD>:Ingo Schwarze
2014-11-17Multiple fixes with respect to in-line macros:Ingo Schwarze
2014-09-07Allow .ll in the prologue; Daniel Levai reports Slackware Linux uses this.Ingo Schwarze
2014-08-21Right after .Fl, a middle delimiter triggers an empty scope,Ingo Schwarze
2014-08-16If a stray .It follows .El, we are no longer in the list,Ingo Schwarze
2014-08-08mention requests and macros in more messagesIngo Schwarze
2014-08-08Get rid of the useless FATAL error "child violates parent syntax".Ingo Schwarze
2014-07-07Clean up ERROR messages related to document structure and macros:Ingo Schwarze
2014-07-04Clean up messages regarding excess arguments:Ingo Schwarze
2014-07-02Improve and test the messages about empty macros,Ingo Schwarze
2014-07-02Clean up warnings related to macros and nesting.Ingo Schwarze
2014-07-02Fix the column numbers associated with in_line_argn() macros;Ingo Schwarze
2014-07-02Implement the obsolete macros .En .Es .Fr .Ot for backward compatibility,Ingo Schwarze
2014-04-20KNF: case (FOO): -> case FOO, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze
2014-03-30Implement the roff(7) .ll (line length) request.Ingo Schwarze
2014-01-21Treat the line after .Cd as a single argument.Ingo Schwarze
2014-01-20Keep words after .Ic together in a single argument.Ingo Schwarze
2013-12-30Simplify: Remove an unused argument from the mandoc_eos() function.Ingo Schwarze
2013-12-30Do not trigger end-of-sentence spacing by trailing punctuationIngo Schwarze
2013-12-24It turns out SYNOPSIS mode does not imply .Bk in general,Ingo Schwarze
2013-12-24When deciding whether two consecutive macros are on the same input line,Ingo Schwarze