summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 23:39:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-15 23:39:40 +0000
commitc4788e9b021a0c7106d8aeb617d236222ebe19b6 (patch)
tree079a228cbab677524c865c3412275b27be4d17c1 /mandoc.h
parent170e9dcf90a5e92a66337dd469337bb728efe516 (diff)
downloadmandoc-c4788e9b021a0c7106d8aeb617d236222ebe19b6.tar.gz
Add a "last child" member of struct mdoc_node.
Remove `Pp' or `Lp' if it is the FIRST or LAST child of an `Sh' or `Sh' body. Make "skipping paragraph" be an error, not a warning, as information (an invoked macro) is ignored.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 58c339fd..a7846d43 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -67,7 +67,6 @@ enum mandocerr {
/* related to macros and nesting */
MANDOCERR_MACROOBS, /* skipping obsolete macro */
- MANDOCERR_IGNPAR, /* skipping paragraph macro */
MANDOCERR_SCOPENEST, /* blocks badly nested */
MANDOCERR_CHILD, /* child violates parent syntax */
MANDOCERR_NESTEDDISP, /* nested displays are not portable */
@@ -105,6 +104,7 @@ enum mandocerr {
MANDOCERR_BADCHAR, /* skipping bad character */
MANDOCERR_NOTEXT, /* skipping text before the first section header */
MANDOCERR_MACRO, /* skipping unknown macro */
+ MANDOCERR_IGNPAR, /* skipping paragraph macro */
MANDOCERR_REQUEST, /* NOT IMPLEMENTED: skipping request */
MANDOCERR_LINESCOPE, /* line scope broken */
MANDOCERR_ARGCOUNT, /* argument count wrong */