summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:37:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:37:30 +0000
commit0b4127a628b0da28fe24f16107d14c5255d71a4a (patch)
treee50aa98f84d127316d90a7b81856012b83bc81b7 /mandoc.h
parent627ca9c00340387199629fec275445d9acebc21d (diff)
downloadmandoc-0b4127a628b0da28fe24f16107d14c5255d71a4a.tar.gz
Merge schwarze@'s changes allowing nested displays. Tweak the patch by
making sure output doesn't add a superfluous newline with the nested displays. Also add a COMPATIBILITY note. Rename a macro (DATESIZ) to be in line with OpenBSD (DATESIZE).
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 8398db25..6d7f0136 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -69,6 +69,7 @@ enum mandocerr {
MANDOCERR_NAMESECFIRST, /* NAME section must come first */
MANDOCERR_BADBOOL, /* bad Boolean value */
MANDOCERR_CHILD, /* child violates parent syntax */
+ MANDOCERR_NESTEDDISP, /* displays may not be nested */
MANDOCERR_BADATT, /* bad AT&T symbol */
MANDOCERR_BADSTANDARD, /* bad standard */
MANDOCERR_LISTREP, /* list type repeated */
@@ -106,8 +107,6 @@ enum mandocerr {
MANDOCERR_FATAL, /* ===== start of fatal errors ===== */
MANDOCERR_COLUMNS, /* column syntax is inconsistent */
- /* FIXME: this should be a MANDOCERR_ERROR */
- MANDOCERR_NESTEDDISP, /* displays may not be nested */
MANDOCERR_BADDISP, /* unsupported display type */
MANDOCERR_SCOPEFATAL, /* blocks badly nested */
MANDOCERR_SYNTNOSCOPE, /* no scope to rewind: syntax violated */