summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* forgotten Copyright bumps; no code changeIngo Schwarze2011-09-181-1/+1
* Allow `Sx' and `Ss' to have child nodes. Fixes manuals in NetBSD.Kristaps Dzonsons2011-08-101-2/+2
* No code change: fixing spelling errors. From a patch by uqs@. Thanks!Kristaps Dzonsons2011-04-301-4/+4
* Closing delimiters only suppress spacing when they follow something.Ingo Schwarze2011-04-251-1/+13
* Clean up parsing of delimiters in -mdoc. First, remove the "dowarn"Kristaps Dzonsons2011-04-191-3/+3
* libmdoc.h and libman.h were including mdoc.h and man.h, respectively.Kristaps Dzonsons2011-03-221-0/+1
* Move mandoc_isdelim() back into libmdoc.h. This fixes an unreportedKristaps Dzonsons2011-03-221-24/+47
* Consolidate messages. Have all parse-time messages (in libmdoc,Kristaps Dzonsons2011-03-201-7/+8
* Clean-up in libmdoc: fix last checks for mdoc_*msg return value, thenKristaps Dzonsons2011-03-171-10/+9
* Move mdoc_isdelim() into mandoc.h as mandoc_isdelim(). This allows theKristaps Dzonsons2011-03-171-7/+7