summaryrefslogtreecommitdiffstats
path: root/main.c
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 /main.c
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 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 786757b8..42d48cf7 100644
--- a/main.c
+++ b/main.c
@@ -146,6 +146,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"NAME section must come first",
"bad Boolean value",
"child violates parent syntax",
+ "displays may not be nested",
"bad AT&T symbol",
"bad standard",
"list type repeated",
@@ -183,7 +184,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"generic fatal error",
"column syntax is inconsistent",
- "displays may not be nested",
"unsupported display type",
"blocks badly nested",
"no such block is open",