summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-03 17:33:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-03 17:33:05 +0000
commit1de71bb307bce265869b412452d0d403674e5eda (patch)
tree6a6b5745dc3a8ba7800d2bba29704f143a0135e2 /mandoc.h
parent7e3f3a2b83bdaf6b8929d44bacefb12730122d72 (diff)
downloadmandoc-1de71bb307bce265869b412452d0d403674e5eda.tar.gz
report trailing delimiters after macros where they are usually a mistake;
the idea came up in a discussion with Thomas Klausner <wiz at NetBSD>
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index f284e743..8dc93e85 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -62,8 +62,8 @@ enum mandocerr {
MANDOCERR_BX, /* consider using OS macro: macro */
MANDOCERR_ER_ORDER, /* errnos out of order: Er ... */
MANDOCERR_ER_REP, /* duplicate errno: Er ... */
- MANDOCERR_ND_DOT, /* description line ends with a full stop */
- MANDOCERR_DELIM, /* no blank before trailing delimiter: macro ... */
+ MANDOCERR_DELIM, /* trailing delimiter: macro ... */
+ MANDOCERR_DELIM_NB, /* no blank before trailing delimiter: macro ... */
MANDOCERR_FUNC, /* function name without markup: name() */
MANDOCERR_WARNING, /* ===== start of warnings ===== */