summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
Commit message (Expand)AuthorAgeFilesLines
* Do text production for .Bt, .Ex, .Rv, .Ud at the validation stageIngo Schwarze2017-01-111-81/+187
* Use new NODE_NOSRC and NODE_NOPRT flags for .Bx and .At.Ingo Schwarze2017-01-101-21/+45
* For the .Ux/.Ox family of macros, do text production at the validationIngo Schwarze2017-01-101-6/+42
* unify names of AST node flags; no change of cpp outputIngo Schwarze2017-01-101-3/+3
* Introduce flags NODE_NOSRC and NODE_NOPRT for AST nodes.Ingo Schwarze2017-01-101-14/+15
* Tolerate bare tabs in SYNOPSIS .Cd for now.Ingo Schwarze2017-01-081-1/+2
* Stricter validation of the NAME section, in particular:Ingo Schwarze2017-01-081-10/+18
* Make the second, section number argument of .Xr mandatory.Ingo Schwarze2016-12-281-2/+18
* Delete complicated code dealing with .Bl -tag without -width,Ingo Schwarze2016-10-091-81/+0
* If a column list starts with implicit rows (that is, rows without .It)Ingo Schwarze2016-08-201-5/+33
* oops, fix stupid typo in previousIngo Schwarze2016-08-111-1/+2
* If a .Bd display is on the one hand doomed to be deleted becauseIngo Schwarze2016-08-111-3/+4
* Don't deref NULL if the only child of the first .Sh is an emptyIngo Schwarze2016-08-101-4/+7
* Don't printf("%s", NULL) if .It has a macro as an argumentIngo Schwarze2016-08-101-2/+3
* When validating a .Bl list that defaults to -item for want of a type,Ingo Schwarze2016-08-101-0/+1
* fix printf("%s", NULL);Ingo Schwarze2016-08-091-3/+4
* 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