summaryrefslogtreecommitdiffstats
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
commitb3a2c4a288eaff61368f73f9008d243d10ff5f7c (patch)
treed2b35c144ce05d47ad6dbea71b081846fdc19539 /read.c
parent02c50c123f386b824e755e7f6334792530c88411 (diff)
downloadmandoc-b3a2c4a288eaff61368f73f9008d243d10ff5f7c.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/read.c b/read.c
index 7908ab22..014adb5b 100644
--- a/read.c
+++ b/read.c
@@ -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",