aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
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 /mandoc.h
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 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index a3fd04cd..fef9be8f 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.246 2017/11/10 23:32:40 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.247 2018/03/16 15:05:44 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -68,6 +68,7 @@ enum mandocerr {
MANDOCERR_DELIM_NB, /* no blank before trailing delimiter: macro ... */
MANDOCERR_FI_SKIP, /* fill mode already enabled, skipping: fi */
MANDOCERR_NF_SKIP, /* fill mode already disabled, skipping: nf */
+ MANDOCERR_DASHDASH, /* verbatim "--", maybe consider using \(em */
MANDOCERR_FUNC, /* function name without markup: name() */
MANDOCERR_SPACE_EOL, /* whitespace at end of input line */
MANDOCERR_COMMENT_BAD, /* bad comment style */