summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 15:01:06 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 15:01:06 +0000
commit183e6ae0229d1ddcdf3a1f493eaae4a39d11d97a (patch)
treefcfba174f3984847528e7def61f307ee45c4ec54 /mdoc.c
parent6a2359747f92ffc48b612b8fb8a2e7a87a9dff8f (diff)
downloadmandoc-183e6ae0229d1ddcdf3a1f493eaae4a39d11d97a.tar.gz
Added EBADCHILD error (bad child of parent context).
`Rs' post-checks that all children are proper bibliographic elements. `Rs' correctly re-orders its children as per groff's output (including %C).
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc.c b/mdoc.c
index 5b49227a..f780640c 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -76,7 +76,8 @@ const char *const __mdoc_merrnames[MERRMAX] = {
"unclosed explicit scope", /* EOPEN */
"unterminated quoted phrase", /* EQUOTPHR */
"closure macro without prior context", /* ENOCTX */
- "no description found for library" /* ELIB */
+ "no description found for library", /* ELIB */
+ "bad child for parent context", /* EBADCHILD */
};
const char *const __mdoc_macronames[MDOC_MAX] = {