diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-02 11:43:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-02 11:43:20 +0000 |
commit | 5974c463fa58c6b119a1cacf57644ad24c66106e (patch) | |
tree | 19c2713c0bc8aa1178b68c959993973007c0fa3f /read.c | |
parent | 4251a52721ec8ec2c8efc2409d7a08a751793bc5 (diff) | |
download | mandoc-5974c463fa58c6b119a1cacf57644ad24c66106e.tar.gz |
Clean up warnings related to macros and nesting.
* Hierarchical naming of enum mandocerr items.
* Improve the wording to make it comprehensible.
* Mention the offending macro.
* Garbage collect one chunk of ancient, long unreachable code.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,7 +122,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "blocks badly nested", "child violates parent syntax", "nested displays are not portable", - "already in literal mode", + "fill mode already enabled, skipping .fi", + "fill mode already disabled, skipping .nf", "line scope broken", /* related to missing macro arguments */ @@ -132,7 +133,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "list type must come first", "tag lists require a width argument", "missing font type", - "skipping end of block that is not open", /* related to bad macro arguments */ "skipping argument", |