aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-11 23:53:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-11 23:53:30 +0000
commitaa5a603865c1cffc40900d4d20fa22fe1a875691 (patch)
tree8dfed454e37c1bdd3fb019f6f71a3520e3d29b8d /read.c
parent324d681dc664dcafae58984dfa627d1330143efc (diff)
downloadmandoc-aa5a603865c1cffc40900d4d20fa22fe1a875691.tar.gz
mandoc-aa5a603865c1cffc40900d4d20fa22fe1a875691.tar.zst
mandoc-aa5a603865c1cffc40900d4d20fa22fe1a875691.zip
warn about botched .Xr ordering and punctuation below SEE ALSO;
inspired by mdoclint(1)
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/read.c b/read.c
index 97d09cdf..31645ecf 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.86 2014/09/07 23:25:01 schwarze Exp $ */
+/* $Id: read.c,v 1.87 2014/09/11 23:53:30 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -117,6 +117,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"sections out of conventional order",
"duplicate section title",
"unexpected section",
+ "unusual Xr order",
+ "unusual Xr punctuation",
"AUTHORS section without An macro",
/* related to macros and nesting */