diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-11 23:53:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-11 23:53:30 +0000 |
commit | aa5a603865c1cffc40900d4d20fa22fe1a875691 (patch) | |
tree | 8dfed454e37c1bdd3fb019f6f71a3520e3d29b8d /read.c | |
parent | 324d681dc664dcafae58984dfa627d1330143efc (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |