From 494bb76472a464f4c16c06824742893732fe349e Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 2 Jul 2014 11:43:20 +0000 Subject: 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. --- read.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'read.c') 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 * Copyright (c) 2010-2014 Ingo Schwarze @@ -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", -- cgit v1.2.3