diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-28 23:30:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-28 23:30:08 +0000 |
commit | 137b7894f98df8048a9fb82e36cc9c8c65efcc65 (patch) | |
tree | f5ae1b5e05479351c50f82f890ea0e02fd84ea6b /read.c | |
parent | ad3e117e029160522db79d6d01fdb041f48f3ed9 (diff) | |
download | mandoc-137b7894f98df8048a9fb82e36cc9c8c65efcc65.tar.gz |
Add a warning "new sentence, new line".
This does not attempt to pinpoint each and every offender, but
instead tries very hard to avoid false positives: Currently, there
are only two false positives in the whole OpenBSD base system.
Only do this in mdoc(7), not in man(7), because manuals written
in man(7) typically have much worse problems than this.
OK jmc@ on a previous version of the patch
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -177,6 +177,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "blank line in fill mode, using .sp", "tab in filled text", "whitespace at end of input line", + "new sentence, new line", "bad comment style", "invalid escape sequence", "undefined string, using \"\"", |