summaryrefslogtreecommitdiffstats
path: root/mandoc_xr.c
Commit message (Collapse)AuthorAgeFilesLines
* If a single page references the same non-existent manual more thanIngo Schwarze2017-07-021-0/+2
| | | | | | once, print "(N times)" after the message "referenced manual not found", to lessen the risk that people fix the first instance and miss the others; jmc@ confirmed that this is useful.
* add warning "cross reference to self"; inspired by mdoclintIngo Schwarze2017-07-021-6/+13
|
* Basic reporting of .Xrs to manual pages that don't existIngo Schwarze2017-07-011-0/+112
in the base system, inspired by mdoclint(1). We are able to do this because (1) the -mdoc parser, the -Tlint validator, and the man(1) manual page lookup code are all in the same program and (2) the mandoc.db(5) database format allows fast lookup. Feedback from, previous versions tested by, and OK jmc@. A few features will be added to this in the tree, step by step.