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 /mandoc.h | |
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 'mandoc.h')
-rw-r--r-- | mandoc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.154 2014/09/07 23:25:01 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.155 2014/09/11 23:53:30 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -72,6 +72,8 @@ enum mandocerr { MANDOCERR_SEC_ORDER, /* sections out of conventional order: Sh title */ MANDOCERR_SEC_REP, /* duplicate section title: Sh title */ MANDOCERR_SEC_MSEC, /* unexpected section: Sh title for ... only */ + MANDOCERR_XR_ORDER, /* unusual Xr order: ... after ... */ + MANDOCERR_XR_PUNCT, /* unusual Xr punctuation: ... after ... */ MANDOCERR_AN_MISSING, /* AUTHORS section without An macro */ /* related to macros and nesting */ |