summaryrefslogtreecommitdiffstats
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-02 13:10:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-02 13:10:45 +0000
commite98d951b402f5f61bf0fafc86ae5ad5a03f1c85e (patch)
tree23bbf173d3bf3034ab37c0c4935226c4dc6559c1 /read.c
parent5974c463fa58c6b119a1cacf57644ad24c66106e (diff)
downloadmandoc-e98d951b402f5f61bf0fafc86ae5ad5a03f1c85e.tar.gz
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 'read.c')
-rw-r--r--read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/read.c b/read.c
index ffb650f3..7908ab22 100644
--- a/read.c
+++ b/read.c
@@ -120,8 +120,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",
@@ -180,6 +181,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",