summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-02 13:10:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-02 13:10:16 +0000
commit5c694caec0d0aa501d6545ada0cd52abd7ff6fe6 (patch)
tree49077f66274a0d4ffbfd2864729e97641d90f1a7 /usr.bin/mandoc/read.c
parent3bd9dcaec2e1a2a5890b23aa8988eac08f940b68 (diff)
Disentangle the MANDOCERR_CHILD message, which reported three
completely different things, into three distinct messages. Also mention the macro names we are talking about.
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index dc836512468..09fd7143e64 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.34 2014/07/02 11:42:56 schwarze Exp $ */
+/* $Id: read.c,v 1.35 2014/07/02 13:10:15 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -112,8 +112,9 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"moving paragraph macro out of list",
"skipping no-space macro",
"blocks badly nested",
- "child violates parent syntax",
"nested displays are not portable",
+ "moving content out of list",
+ ".Vt block has child macro",
"fill mode already enabled, skipping .fi",
"fill mode already disabled, skipping .nf",
"line scope broken",
@@ -172,6 +173,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"skipping unknown macro",
"NOT IMPLEMENTED, please use groff: skipping request",
"argument count wrong",
+ "skipping invalid content in .Rs block",
"skipping column outside column list",
"skipping end of block that is not open",
"missing end of block",