From c01761ea13fdd499eb96561ff3f510d953048911 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 13 Jun 2010 21:02:48 +0000 Subject: Allow -width for lists to be cached in mdoc_bl. This requires some trickery because widths may be on-the-fly recalculated. I don't like how these are split between mdoc_action.c and mdoc_validate.c, but for the time being, it'll do. --- mdoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mdoc.h') diff --git a/mdoc.h b/mdoc.h index aaa81129..b9f4ab73 100644 --- a/mdoc.h +++ b/mdoc.h @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.88 2010/06/12 12:38:01 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.89 2010/06/13 21:02:48 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -279,6 +279,7 @@ struct mdoc_bd { }; struct mdoc_bl { + const char *width; /* -width */ const char *offs; /* -offset */ enum mdoc_list type; /* -tag, -enum, etc. */ int comp; /* -compact */ -- cgit v1.2.3