From 3db79abdb1a5a61be157573ca909551cb2350b47 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 31 May 2013 21:37:17 +0000 Subject: The name "struct tbl" was badly misleading for two reasons: 1) This struct almost exclusively contains the table options. 2) Information about the table as a whole is actually in "struct tbl_node". Besides, "struct tbl" was almost impossible to search for. So rename it to "struct tbl_opts". No functional change. --- mandoc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mandoc.h') diff --git a/mandoc.h b/mandoc.h index f84b746c..c86530c4 100644 --- a/mandoc.h +++ b/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.106 2012/11/19 22:30:58 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.107 2013/05/31 21:37:17 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012 Ingo Schwarze @@ -164,7 +164,7 @@ enum mandocerr { MANDOCERR_MAX }; -struct tbl { +struct tbl_opts { char tab; /* cell-separator */ char decimal; /* decimal point */ int linesize; @@ -263,7 +263,7 @@ enum tbl_spant { * A row of data in a table. */ struct tbl_span { - struct tbl *tbl; + struct tbl_opts *opts; struct tbl_head *head; struct tbl_row *layout; /* layout row */ struct tbl_dat *first; -- cgit v1.2.3-56-ge451