aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit494bb76472a464f4c16c06824742893732fe349e (patch)
tree36741709a3ab1915d5067f740e44aceec747e304 /read.c
parent6c161f30c252bf65b27ce98eb9c96681bb45f27e (diff)
downloadmandoc-494bb76472a464f4c16c06824742893732fe349e.tar.gz
mandoc-494bb76472a464f4c16c06824742893732fe349e.tar.zst
mandoc-494bb76472a464f4c16c06824742893732fe349e.zip
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/read.c b/read.c
index 2f9d79db..d1b0af1c 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.55 2014/07/02 03:48:07 schwarze Exp $ */
+/* $Id: read.c,v 1.56 2014/07/02 11:43:20 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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",