aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit3eba010f0f31a85978d61e0b11e8da1c4933dac5 (patch)
tree3bf42092313dcb8fe6c4ba4b3c28495c876d4c14 /read.c
parent494bb76472a464f4c16c06824742893732fe349e (diff)
downloadmandoc-3eba010f0f31a85978d61e0b11e8da1c4933dac5.tar.gz
mandoc-3eba010f0f31a85978d61e0b11e8da1c4933dac5.tar.zst
mandoc-3eba010f0f31a85978d61e0b11e8da1c4933dac5.zip
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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/read.c b/read.c
index d1b0af1c..a60f42f9 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.56 2014/07/02 11:43:20 schwarze Exp $ */
+/* $Id: read.c,v 1.57 2014/07/02 13:10:45 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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",