summaryrefslogtreecommitdiffstats
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-02 15:31:59 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-02 15:31:59 +0000
commit9a0fd61677909a43ee8a1f7d69598769f9a7ad6b (patch)
treeff9b788408b481515dd3eae168a45e4aea03416d /read.c
parent58be69d2a5cab3e51bf16a2880fbfa2115dad47d (diff)
downloadmandoc-9a0fd61677909a43ee8a1f7d69598769f9a7ad6b.tar.gz
add warning "cross reference to self"; inspired by mdoclint
Diffstat (limited to 'read.c')
-rw-r--r--read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/read.c b/read.c
index 2327b6ee..686d6fc6 100644
--- a/read.c
+++ b/read.c
@@ -139,6 +139,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"sections out of conventional order",
"duplicate section title",
"unexpected section",
+ "cross reference to self",
"unusual Xr order",
"unusual Xr punctuation",
"AUTHORS section without An macro",