diff options
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 48b0c40c..f9d5b2a0 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.102 2010/06/28 14:39:17 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.103 2010/07/01 21:44:47 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -543,6 +543,8 @@ pre_bl(PRE_ARGS) if (MDOC_BLOCK != n->type) { assert(n->parent); + if (ENDBODY_NOT != n->end) + return(1); assert(MDOC_BLOCK == n->parent->type); assert(MDOC_Bl == n->parent->tok); assert(LIST__NONE != n->parent->data.Bl.type); |