diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-09-11 23:52:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-09-11 23:52:48 +0000 |
commit | 29d7f67c05e949fa36851e9abd8b82edf18268da (patch) | |
tree | 12931774623c063240ca10a51338899b5c9f6b0b /usr.bin/mandoc/mandoc.h | |
parent | f9adea366d5846f02abec9f450efee0bc24c8c1d (diff) |
warn about botched .Xr ordering and punctuation below SEE ALSO;
inspired by mdoclint(1)
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r-- | usr.bin/mandoc/mandoc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h index ccaaa32fe01..881b65aab91 100644 --- a/usr.bin/mandoc/mandoc.h +++ b/usr.bin/mandoc/mandoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mandoc.h,v 1.98 2014/09/07 23:24:33 schwarze Exp $ */ +/* $OpenBSD: mandoc.h,v 1.99 2014/09/11 23:52:47 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 */ |