diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-23 13:31:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-23 13:31:03 +0000 |
commit | d9ef974d05cb710d89c63e8ee474a0eb00e2d56b (patch) | |
tree | 8fe4c115973611db8d2d44351bf3f89847e38b30 /read.c | |
parent | 4c2af21a8a623f5d22f660bdcfff1e1c23b9bcd2 (diff) | |
download | mandoc-d9ef974d05cb710d89c63e8ee474a0eb00e2d56b.tar.gz |
improve NAME section diagnostics;
confusing messages reported by Jan Stary <hans at stare dot cz>
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -109,7 +109,10 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "no document body", "content before first section header", "first section is not \"NAME\"", - "bad NAME section contents", + "NAME section without name", + "NAME section without description", + "description not at the end of NAME", + "bad NAME section content", "missing description line, using \"\"", "sections out of conventional order", "duplicate section title", |