=================================================================== RCS file: /cvs/mandoc/mdoc_validate.c,v retrieving revision 1.102 retrieving revision 1.103 diff -u -p -r1.102 -r1.103 --- mandoc/mdoc_validate.c 2010/06/28 14:39:17 1.102 +++ mandoc/mdoc_validate.c 2010/07/01 21:44:47 1.103 @@ -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 * @@ -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);