aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
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 /mandoc.h
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 'mandoc.h')
-rw-r--r--mandoc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 2ab25442..f0005e61 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.128 2014/07/02 11:43:20 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.129 2014/07/02 13:10:45 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -76,8 +76,9 @@ enum mandocerr {
MANDOCERR_PAR_MOVE, /* moving paragraph macro out of list: macro */
MANDOCERR_NS_SKIP, /* skipping no-space macro */
MANDOCERR_BLOCK_NEST, /* blocks badly nested: macro ... */
- MANDOCERR_CHILD, /* child violates parent syntax */
MANDOCERR_BD_NEST, /* nested displays are not portable: macro ... */
+ MANDOCERR_BL_MOVE, /* moving content out of list: macro */
+ MANDOCERR_VT_CHILD, /* .Vt block has child macro: macro */
MANDOCERR_FI_SKIP, /* fill mode already enabled, skipping .fi */
MANDOCERR_NF_SKIP, /* fill mode already disabled, skipping .nf */
MANDOCERR_LINESCOPE, /* line scope broken: macro breaks macro */
@@ -136,6 +137,7 @@ enum mandocerr {
MANDOCERR_MACRO, /* skipping unknown macro */
MANDOCERR_REQUEST, /* NOT IMPLEMENTED: skipping request */
MANDOCERR_ARGCOUNT, /* argument count wrong */
+ MANDOCERR_RS_SKIP, /* skipping invalid content in .Rs block: macro */
MANDOCERR_STRAYTA, /* skipping column outside column list */
MANDOCERR_NOSCOPE, /* skipping end of block that is not open */
MANDOCERR_SCOPEBROKEN, /* missing end of block */