summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-03 17:33:02 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-03 17:33:02 +0000
commit626c0ac76e5f393f232bd94f280084d6b5e41aa1 (patch)
tree60b2f1588684b2e7e5029dcb8df5e4fb01f26ffe /usr.bin/mandoc/read.c
parent5652b7fd3b393f05d0badebc59e67c88d741fc80 (diff)
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 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 5c409947c49..6853493da5a 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.158 2017/07/03 13:40:00 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.159 2017/07/03 17:33:01 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -100,7 +100,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"consider using OS macro",
"errnos out of order",
"duplicate errno",
- "description line ends with a full stop",
+ "trailing delimiter",
"no blank before trailing delimiter",
"function name without markup",