summaryrefslogtreecommitdiffstats
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-13 21:02:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-13 21:02:48 +0000
commit5a0dd4748ed706df837d91eb3c47b30b2e60f77c (patch)
treeffb612fcbc568640a557dece05e80032a4bdd090 /mdoc.h
parent4da8bd9909c0dfc7c512cd675b156915135c8088 (diff)
downloadmandoc-5a0dd4748ed706df837d91eb3c47b30b2e60f77c.tar.gz
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.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc.h b/mdoc.h
index 7728dc72..3cb8bcec 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -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 */