diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-06-02 18:28:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-06-02 18:28:19 +0000 |
commit | 81fed4ca2ec0fa379abfe067dedb8a3a4b32ab82 (patch) | |
tree | fc90cb868eb26afd126066004b40e633765d76e7 /mandoc.h | |
parent | e4b7709a1c43fd251397020963a1ce703c8229b4 (diff) | |
download | mandoc-81fed4ca2ec0fa379abfe067dedb8a3a4b32ab82.tar.gz |
In -W style mode, check .Xr links along the full manpath because
that is more useful for validating manuals of non-base software.
Nothing changes in -W all mode: by default for -T lint, we still
assume we want to check base system conventions, including usually
not wanting to link to non-base manual pages.
The use case, a partial idea how to handle it, and a preliminary
patch was originally presented by kn@, then refined by me.
Final patch tested and OK'ed by kn@.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,6 @@ enum mandocerr { MANDOCERR_ARCH_BAD, /* unknown architecture: Dt ... arch */ MANDOCERR_OS_ARG, /* operating system explicitly specified: Os ... */ MANDOCERR_RCS_MISSING, /* RCS id missing */ - MANDOCERR_XR_BAD, /* referenced manual not found: Xr name sec */ MANDOCERR_STYLE, /* ===== start of style suggestions ===== */ @@ -68,6 +67,7 @@ enum mandocerr { MANDOCERR_BX, /* consider using OS macro: macro */ MANDOCERR_ER_ORDER, /* errnos out of order: Er ... */ MANDOCERR_ER_REP, /* duplicate errno: Er ... */ + MANDOCERR_XR_BAD, /* referenced manual not found: Xr name sec */ MANDOCERR_DELIM, /* trailing delimiter: macro ... */ MANDOCERR_DELIM_NB, /* no blank before trailing delimiter: macro ... */ MANDOCERR_FI_SKIP, /* fill mode already enabled, skipping: fi */ |