summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
Commit message (Expand)AuthorAgeFilesLines
* Delete the redundant "nchild" member of struct roff_node, replacingIngo Schwarze2016-01-081-13/+11
* If a .Bd block has no arguments at all, drop the block and only keepIngo Schwarze2015-10-301-0/+10
* Move all mdoc(7) node validation done before child parsingIngo Schwarze2015-10-211-242/+212
* In order to become able to generate syntax tree nodes on the roff(7)Ingo Schwarze2015-10-201-129/+64
* style cleanup, no functional changeIngo Schwarze2015-10-191-55/+58
* Delete an assignment that is unconditionally overwritten two lines later;Ingo Schwarze2015-10-121-1/+0
* To make the code more readable, delete 283 /* FALLTHROUGH */ commentsIngo Schwarze2015-10-121-22/+1
* modernize style: "return" is not a functionIngo Schwarze2015-10-061-46/+46
* /* NOTREACHED */ after abort() is silly, delete itIngo Schwarze2015-09-261-3/+0
* Remove the warning about children of .Vt blocks because actually,Ingo Schwarze2015-09-141-24/+1
* Unify mdoc_deroff() and man_deroff() into a common function deroff().Ingo Schwarze2015-04-231-4/+4
* Avoid out-of-bounds read access before the beginning of theIngo Schwarze2015-04-201-1/+2
* Unify some node handling functions that use TOKEN_NONE.Ingo Schwarze2015-04-191-5/+5
* Decouple the token code for "no request or macro" from the individualIngo Schwarze2015-04-191-2/+2
* Unify node handling functions:Ingo Schwarze2015-04-191-14/+15
* Replace the structs mdoc and man by a unified struct roff_man.Ingo Schwarze2015-04-181-14/+14
* Second step towards parser unification:Ingo Schwarze2015-04-021-55/+55
* First step towards parser unification:Ingo Schwarze2015-04-021-48/+49
* oops, in NAME, don't nag about the comma after .NmIngo Schwarze2015-02-231-0/+4
* improve NAME section diagnostics;Ingo Schwarze2015-02-231-24/+24
* Render \(lq and \(rq as '"' in -Tascii mode but leave the renderingIngo Schwarze2015-02-171-1/+1
* clean up post_dt() validation function;Ingo Schwarze2015-02-161-42/+40
* shut up about tabs in SYNOPSIS .Fd lines, there is no good way to avoid themIngo Schwarze2015-02-141-1/+2
* Delete the mdoc_node.pending pointer and the function calculatingIngo Schwarze2015-02-121-39/+5
* trim trailing white space, no code change;Ingo Schwarze2015-02-101-1/+1
* replace the last legacy generic message type, "argument count wrong",Ingo Schwarze2015-02-061-2/+2
* Delete the legacy generic warning type MANDOCERR_ARGCWARN,Ingo Schwarze2015-02-061-80/+18
* better handle .Fo and .Fd without argumentIngo Schwarze2015-02-061-12/+21
* better handle empty .Bd .Bl .D1 .Dl blocksIngo Schwarze2015-02-061-38/+44
* better handle .In .Sh .Ss .St .Xr without argumentsIngo Schwarze2015-02-061-10/+2
* fix handling of empty .An macrosIngo Schwarze2015-02-051-4/+6
* Discard excess head arguments for .Bd .Bl .Bk and delete hwarn_eq0().Ingo Schwarze2015-02-041-35/+36
* improve diagnostics regarding arguments of .An .Pp .Lp .br .spIngo Schwarze2015-02-041-10/+14
* discard .Rs head arguments and improve .Rs diagnosticsIngo Schwarze2015-02-041-35/+33
* more specific .Nd diagnostics, allowing to get rid of enum check_lvlIngo Schwarze2015-02-041-24/+26
* Bring .Pp/.Lp handling inside .Nm blocks closer to groff;Ingo Schwarze2015-02-031-3/+11
* Only keep leading .Sm inside a list when it immediately precedesIngo Schwarze2014-12-181-1/+4
* When the head of a list item is extended with a partial explicitIngo Schwarze2014-12-181-6/+6
* Multiple fixes with respect to .Pf:Ingo Schwarze2014-11-301-1/+1
* Retire support for CSRG supplementary document titles. These areIngo Schwarze2014-11-281-12/+2
* Drop useless architecture table. Validating architecture namesIngo Schwarze2014-11-281-13/+6
* kill a pointless assertIngo Schwarze2014-11-281-3/+0
* Simplify code by making mdoc validation handlers void.Ingo Schwarze2014-11-281-322/+221
* Downgrade .Bd -file from FATAL to ERROR.Ingo Schwarze2014-11-271-1/+1
* Fix the obsolete .Db (toggle debug mode) macro to ignore its argumentsIngo Schwarze2014-11-271-17/+12
* remove an unreachable warning about .Sm argumentsIngo Schwarze2014-11-261-2/+0
* Multiple fixes with respect to in-line macros:Ingo Schwarze2014-11-171-5/+15
* Major bugsquashing with respect to -offset and -width:Ingo Schwarze2014-10-301-42/+18
* sync with OpenBSD:Ingo Schwarze2014-10-131-1/+2
* Do not warn about declarations of functions returning function pointers,Ingo Schwarze2014-10-131-3/+5