aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_msg.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-06-27 17:57:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-06-27 17:57:54 +0000
commitbe51c141f11b2f1550c1b8bbd47639509679ecd3 (patch)
treed34469b5bc2a0774c98deaa7c24fff6bcd606281 /mandoc_msg.c
parent78fc2ca35b074c97e98436c33ca288bd9a7a09d0 (diff)
downloadmandoc-be51c141f11b2f1550c1b8bbd47639509679ecd3.tar.gz
mandoc-be51c141f11b2f1550c1b8bbd47639509679ecd3.tar.zst
mandoc-be51c141f11b2f1550c1b8bbd47639509679ecd3.zip
add a style message about overlong text lines,
trying very hard to avoid false positives, not at all trying to catch as many cases as possible; feature originally suggested by tb@, OK tb@ kn@ jmc@
Diffstat (limited to 'mandoc_msg.c')
-rw-r--r--mandoc_msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc_msg.c b/mandoc_msg.c
index 7a127331..64355ddc 100644
--- a/mandoc_msg.c
+++ b/mandoc_msg.c
@@ -73,6 +73,7 @@ static const char *const type_message[MANDOCERR_MAX] = {
"no blank before trailing delimiter",
"fill mode already enabled, skipping",
"fill mode already disabled, skipping",
+ "input text line longer than 80 bytes",
"verbatim \"--\", maybe consider using \\(em",
"function name without markup",
"whitespace at end of input line",