aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-20 17:24:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-20 17:24:00 +0000
commitb3b89a43d7165af5fd4fe84f88cdeef6cb5ee1aa (patch)
tree66e68d5d37c2a505037e623de69d48b21809cfd2 /read.c
parent8358cc737b994d172459eaf3401807c2b0d3811c (diff)
downloadmandoc-b3b89a43d7165af5fd4fe84f88cdeef6cb5ee1aa.tar.gz
mandoc-b3b89a43d7165af5fd4fe84f88cdeef6cb5ee1aa.tar.zst
mandoc-b3b89a43d7165af5fd4fe84f88cdeef6cb5ee1aa.zip
Start systematic improvements of error reporting.
So far, this covers all WARNINGs related to the prologue. 1) hierarchical naming of MANDOCERR_* constants 2) mention the macro name in messages where that adds clarity 3) add one missing MANDOCERR_DATE_MISSING msg 4) fix the wording of one message related to the man(7) prologue Started on the plane back from Ottawa.
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 959da529..3c68b42d 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.48 2014/04/20 22:04:04 schwarze Exp $ */
+/* $Id: read.c,v 1.49 2014/06/20 17:24:00 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -93,7 +93,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"generic warning",
/* related to the prologue */
- "no title in document",
+ "no TH macro in document",
"document title should be all caps",
"unknown manual section",
"unknown manual volume or arch",