diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-06-27 17:57:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-06-27 17:57:54 +0000 |
commit | 2ec8a158cb2aaa80f61ebc3874b1650780239ef5 (patch) | |
tree | bc2f63eaafd788f966ab5f61236a0b8c3cf34a70 /mandoc.h | |
parent | 5e803b18a3083fa5c78121999261879e3c89c0d9 (diff) | |
download | mandoc-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |