X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/1ad90114e658029281a3848e28d9d765ea18791d..82f95d740250f9802dd32d845731167161f7ee8e:/validate.c?ds=sidebyside diff --git a/validate.c b/validate.c index 033e3a3c..27537588 100644 --- a/validate.c +++ b/validate.c @@ -1,4 +1,4 @@ -/* $Id: validate.c,v 1.47 2009/01/21 17:56:32 kristaps Exp $ */ +/* $Id: validate.c,v 1.49 2009/02/21 15:34:46 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -708,6 +708,9 @@ static int pre_it(struct mdoc *mdoc, struct mdoc_node *node) { + /* TODO: -width attribute must be specified for -tag. */ + /* TODO: children too big for -width? */ + if (MDOC_BLOCK != node->type) return(1); return(pre_check_parent(mdoc, node, MDOC_Bl, MDOC_BODY));