summaryrefslogtreecommitdiffstats
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-02 11:43:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-02 11:43:20 +0000
commit5974c463fa58c6b119a1cacf57644ad24c66106e (patch)
tree19c2713c0bc8aa1178b68c959993973007c0fa3f /read.c
parent4251a52721ec8ec2c8efc2409d7a08a751793bc5 (diff)
downloadmandoc-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.c b/read.c
index 1672efb9..ffb650f3 100644
--- a/read.c
+++ b/read.c
@@ -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",