From 42e8be336a5fb9b91fff3550e7a9a2a286840b16 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 21 Feb 2009 14:56:57 +0000 Subject: Initial list support (not nested, yet). --- validate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'validate.c') diff --git a/validate.c b/validate.c index 033e3a3c..77df2def 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.48 2009/02/21 14:56:58 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -708,6 +708,8 @@ static int pre_it(struct mdoc *mdoc, struct mdoc_node *node) { + /* TODO: -width attribute must be specified for -tag. */ + if (MDOC_BLOCK != node->type) return(1); return(pre_check_parent(mdoc, node, MDOC_Bl, MDOC_BODY)); -- cgit v1.2.3-56-ge451