summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.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
commit974dbdc2d409238ee7e08680361e91683a986c41 (patch)
treeff479fcbccb8fa7bd989320f362f0114e6cec2e3 /mdoc_term.c
parentefcc442499da0cc5d2453ac6d1c7d39375170826 (diff)
downloadmandoc-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_term.c')
-rw-r--r--mdoc_term.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index aff4614d..2398793a 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.82 2009/09/24 11:55:28 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.83 2009/09/24 15:01:06 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -260,11 +260,11 @@ static const struct termact termacts[MDOC_MAX] = {
{ termp_brq_pre, termp_brq_post }, /* Brq */
{ termp_brq_pre, termp_brq_post }, /* Bro */
{ NULL, NULL }, /* Brc */
- { NULL, NULL }, /* %C */
+ { NULL, termp____post }, /* %C */
{ NULL, NULL }, /* Es */ /* TODO */
{ NULL, NULL }, /* En */ /* TODO */
{ termp_xx_pre, NULL }, /* Dx */
- { NULL, NULL }, /* %Q */
+ { NULL, termp____post }, /* %Q */
{ termp_sp_pre, NULL }, /* br */
{ termp_sp_pre, NULL }, /* sp */
};
@@ -2106,3 +2106,4 @@ termp_under_pre(DECL_ARGS)
p->under++;
return(1);
}
+