diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-24 15:01:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-24 15:01:06 +0000 |
commit | 974dbdc2d409238ee7e08680361e91683a986c41 (patch) | |
tree | ff479fcbccb8fa7bd989320f362f0114e6cec2e3 /mdoc.c | |
parent | efcc442499da0cc5d2453ac6d1c7d39375170826 (diff) | |
download | mandoc-974dbdc2d409238ee7e08680361e91683a986c41.tar.gz mandoc-974dbdc2d409238ee7e08680361e91683a986c41.tar.zst mandoc-974dbdc2d409238ee7e08680361e91683a986c41.zip |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.106 2009/09/23 11:53:45 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.107 2009/09/24 15:01:06 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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] = { |