diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-03 17:33:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-03 17:33:05 +0000 |
commit | 90ba5141e31f73760148000ed0d98d9b7c612a63 (patch) | |
tree | 3c04d358dea3f9040a5b174bde0b950816e89e2d /mandoc.h | |
parent | dcf99dab6ac9d82bc6581c4ea0ea85bc4a98736e (diff) | |
download | mandoc-90ba5141e31f73760148000ed0d98d9b7c612a63.tar.gz mandoc-90ba5141e31f73760148000ed0d98d9b7c612a63.tar.zst mandoc-90ba5141e31f73760148000ed0d98d9b7c612a63.zip |
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.240 2017/07/03 13:40:19 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.241 2017/07/03 17:33:05 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -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 ===== */ |