aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-03 21:23:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-03 21:23:54 +0000
commitb20db833ab9fe345d4463b10d6fa74aa21c49aca (patch)
treec073ec6d9d2055d1f8c7b155b5c53ce35dfeef57 /read.c
parenteea7a417f94cca4382928d176498141c7b113250 (diff)
downloadmandoc-b20db833ab9fe345d4463b10d6fa74aa21c49aca.tar.gz
mandoc-b20db833ab9fe345d4463b10d6fa74aa21c49aca.tar.zst
mandoc-b20db833ab9fe345d4463b10d6fa74aa21c49aca.zip
MANDOCERR_NOARGS reported three completely unrelated classes of problems.
Split the roff(7) parts out of it and report the request names for these cases.
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/read.c b/read.c
index a60f42f9..ebda30be 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.57 2014/07/02 13:10:45 schwarze Exp $ */
+/* $Id: read.c,v 1.58 2014/07/03 21:23:54 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -128,6 +128,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"line scope broken",
/* related to missing macro arguments */
+ "skipping empty request",
+ "conditional request controls empty scope",
"skipping empty macro",
"argument count wrong",
"missing display type",