From c4604222386ea3939b89bb2b59c1bf69f126c06d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 12 Jun 2010 12:10:55 +0000 Subject: Moved `Bl -compact' into cached data. This allowed the removal of scanning the argv list in print_bvspace(), and thus the parent pointer. --- mdoc.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'mdoc.h') diff --git a/mdoc.h b/mdoc.h index 741c63f1..24811c90 100644 --- a/mdoc.h +++ b/mdoc.h @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.86 2010/06/12 11:58:22 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.87 2010/06/12 12:10:55 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -273,13 +273,14 @@ enum mdoc_disp { }; struct mdoc_bd { - const char *offs; - enum mdoc_disp type; - int comp; + const char *offs; /* -offset */ + enum mdoc_disp type; /* -ragged, etc. */ + int comp; /* -compact */ }; struct mdoc_bl { - enum mdoc_list type; + enum mdoc_list type; /* -tag, -enum, etc. */ + int comp; /* -compact */ }; /* Node in AST. */ -- cgit v1.2.3