summaryrefslogtreecommitdiffstats
path: root/mandoc.h
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
commit2ec8a158cb2aaa80f61ebc3874b1650780239ef5 (patch)
treebc2f63eaafd788f966ab5f61236a0b8c3cf34a70 /mandoc.h
parent5e803b18a3083fa5c78121999261879e3c89c0d9 (diff)
downloadmandoc-2ec8a158cb2aaa80f61ebc3874b1650780239ef5.tar.gz
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.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index b6e5c981..9d9fef8f 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -72,6 +72,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_TEXT_LONG, /* input text line longer than 80 bytes */
MANDOCERR_DASHDASH, /* verbatim "--", maybe consider using \(em */
MANDOCERR_FUNC, /* function name without markup: name() */
MANDOCERR_SPACE_EOL, /* whitespace at end of input line */