aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libroff.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-30 10:26:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-30 10:26:00 +0000
commitf4ef2b56c63e66af623a65be9e0bc802888eacb5 (patch)
tree49f83a74b669db2d2084b58fa77a132ff39b6e78 /libroff.h
parent106912a8afaf5d13433f9c31bf444d8c6c1361de (diff)
downloadmandoc-f4ef2b56c63e66af623a65be9e0bc802888eacb5.tar.gz
mandoc-f4ef2b56c63e66af623a65be9e0bc802888eacb5.tar.zst
mandoc-f4ef2b56c63e66af623a65be9e0bc802888eacb5.zip
Assign layout cells to parsed data. This follows primarily from
tbl.bsd.lv, although it has been reimplemented.
Diffstat (limited to 'libroff.h')
-rw-r--r--libroff.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libroff.h b/libroff.h
index ec51096e..251c22a8 100644
--- a/libroff.h
+++ b/libroff.h
@@ -1,4 +1,4 @@
-/* $Id: libroff.h,v 1.8 2010/12/30 09:34:06 kristaps Exp $ */
+/* $Id: libroff.h,v 1.9 2010/12/30 10:26:00 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -61,6 +61,7 @@ struct tbl_row {
};
struct tbl_dat {
+ struct tbl_cell *layout; /* layout cell: CAN BE NULL */
struct tbl_dat *next;
char *string;
int flags;
@@ -71,6 +72,7 @@ struct tbl_dat {
};
struct tbl_span {
+ struct tbl_row *layout; /* layout row: CAN BE NULL */
struct tbl_dat *first;
struct tbl_dat *last;
int flags;