aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-05-31 21:37:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-05-31 21:37:17 +0000
commit3db79abdb1a5a61be157573ca909551cb2350b47 (patch)
treefbedcb5394b8b8930b8cced45ab5587674ebb37d /mandoc.h
parenta46db8d6dd0bb86c956e7c8fc3a7966c89e7d078 (diff)
downloadmandoc-3db79abdb1a5a61be157573ca909551cb2350b47.tar.gz
mandoc-3db79abdb1a5a61be157573ca909551cb2350b47.tar.zst
mandoc-3db79abdb1a5a61be157573ca909551cb2350b47.zip
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.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h6
1 files changed, 3 insertions, 3 deletions
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 <kristaps@bsd.lv>
* Copyright (c) 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;