diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-02 15:31:49 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-02 15:31:49 +0000 |
commit | 23737f2b4a46cae385a54a45f7aeeb05141d9d73 (patch) | |
tree | 3704e1e3f21b971c1ab8b1ab5c8664a298dcfbd9 /usr.bin/mandoc/read.c | |
parent | 4d7b727c50e22bb3bef01dd520d293c65ace05cf (diff) |
add warning "cross reference to self"; inspired by mdoclint
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r-- | usr.bin/mandoc/read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c index 8c848f1a69e..5e341726f81 100644 --- a/usr.bin/mandoc/read.c +++ b/usr.bin/mandoc/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.156 2017/07/01 09:47:23 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.157 2017/07/02 15:31:48 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -135,6 +135,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", |