summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix the column numbers associated with in_line_argn() macros;Ingo Schwarze2014-07-021-2/+2
* Implement the obsolete macros .En .Es .Fr .Ot for backward compatibility,Ingo Schwarze2014-07-021-13/+6
* KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */,Ingo Schwarze2014-04-201-152/+129
* Implement the roff(7) .ll (line length) request.Ingo Schwarze2014-03-301-0/+1
* Treat the line after .Cd as a single argument.Ingo Schwarze2014-01-211-1/+1
* Keep words after .Ic together in a single argument.Ingo Schwarze2014-01-201-1/+1
* Simplify: Remove an unused argument from the mandoc_eos() function.Ingo Schwarze2013-12-311-1/+1
* Do not trigger end-of-sentence spacing by trailing punctuationIngo Schwarze2013-12-311-19/+0
* It turns out SYNOPSIS mode does not imply .Bk in general,Ingo Schwarze2013-12-241-2/+1
* When deciding whether two consecutive macros are on the same input line,Ingo Schwarze2013-12-241-0/+5
* There are three kinds of input lines: text lines, macros takingIngo Schwarze2013-10-211-98/+139
* Block closing macros do not allocate a new node but finish an existingIngo Schwarze2013-09-151-0/+3
* Do not crash on stray .Ta macros found outside column lists.Ingo Schwarze2012-11-191-4/+10
* Fix four small whitespace issues related to trailing punctuationIngo Schwarze2012-11-181-1/+2
* Cleanup naming of local variables to make the code easier on the eye:Ingo Schwarze2012-11-171-175/+180
* Fix a crash triggered by .Bl -tag .It Xo .El .Sh found by florian@.Ingo Schwarze2012-11-161-1/+1
* Let a trailing .Ns macro take effectIngo Schwarze2012-07-181-1/+8
* update Copyright years according to the CVS logs; no code changeIngo Schwarze2012-05-271-1/+1
* Fix previous such that all .It HEADs are unparsed,Ingo Schwarze2012-01-051-10/+8
* `-diag' lists aren't parsed, unlike other list types. This fixes a TODOKristaps Dzonsons2012-01-021-3/+13
* Remove an OpenBSD-specific tweak regarding .Xr spacing and make itIngo Schwarze2011-12-031-16/+0
* Remove a bunch of useless assignments,Ingo Schwarze2011-10-161-4/+1