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 | 183e6ae0229d1ddcdf3a1f493eaae4a39d11d97a (patch) | |
tree | fcfba174f3984847528e7def61f307ee45c4ec54 /mdoc_term.c | |
parent | 6a2359747f92ffc48b612b8fb8a2e7a87a9dff8f (diff) | |
download | mandoc-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_term.c')
-rw-r--r-- | mdoc_term.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index ab098b2b..f5db6681 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -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); } + |