From 60f3ca299cfdd742129822cb1c94240fd2b245d8 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 7 Jul 2014 21:36:20 +0000 Subject: Clean up ERROR messages related to document structure and macros: Hierarchical naming and mention macro names in messages. --- read.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'read.c') diff --git a/read.c b/read.c index be45fd69..442d6343 100644 --- a/read.c +++ b/read.c @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.67 2014/07/07 16:12:20 schwarze Exp $ */ +/* $Id: read.c,v 1.68 2014/07/07 21:36:20 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -180,17 +180,20 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "data block still open", "ignoring extra data cells", + /* related to document structure and macros */ "input stack limit exceeded, infinite loop?", "skipping bad character", + "skipping unknown macro", + "skipping column outside column list", + "skipping end of block that is not open", + "inserting missing end of block", + "appending missing end of block", + + /* related to request and macro arguments */ "escaped character not allowed in a name", "manual name not yet set", - "skipping unknown macro", "argument count wrong", "unknown standard specifier", - "skipping column outside column list", - "skipping end of block that is not open", - "missing end of block", - "scope open on exit", "uname(3) system call failed", "request requires a numeric argument", "missing list type, using -item", -- cgit v1.2.3