aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-03-16 15:05:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-03-16 15:05:44 +0000
commitbbd260dcd38e0e50fc5c35b6d65bf2caf4459198 (patch)
tree176c4b9e670190db28d74ef1c446e7d5121837b4 /read.c
parent9fe450461bc85144434bb25f42f7c9f6bafa8da4 (diff)
downloadmandoc-bbd260dcd38e0e50fc5c35b6d65bf2caf4459198.tar.gz
mandoc-bbd260dcd38e0e50fc5c35b6d65bf2caf4459198.tar.zst
mandoc-bbd260dcd38e0e50fc5c35b6d65bf2caf4459198.zip
Style message about bad input encoding of em-dashes as -- instead of \(em.
Suggested by Thomas Klausner <wiz at NetBSD>; discussed with jmc@.
Diffstat (limited to 'read.c')
-rw-r--r--read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/read.c b/read.c
index 9e230e23..0fc4f6e3 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.194 2018/02/23 21:35:19 schwarze Exp $ */
+/* $Id: read.c,v 1.195 2018/03/16 15:05:44 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -106,6 +106,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"no blank before trailing delimiter",
"fill mode already enabled, skipping",
"fill mode already disabled, skipping",
+ "verbatim \"--\", maybe consider using \\(em",
"function name without markup",
"whitespace at end of input line",
"bad comment style",