aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-02 12:04:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-02 12:04:23 +0000
commit298dd329122e8243c3417d70103c620ab2b8f858 (patch)
tree760094d07fcc3405dd2547494c586f2fcf575472 /mandoc.h
parent56cfcaa84d0b04041aeeec950bddb179297ebd2d (diff)
downloadmandoc-298dd329122e8243c3417d70103c620ab2b8f858.tar.gz
mandoc-298dd329122e8243c3417d70103c620ab2b8f858.tar.zst
mandoc-298dd329122e8243c3417d70103c620ab2b8f858.zip
Add some final bits necessary in the upcoming -Tascii tbl stuff.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 789e9b60..4b857db5 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.43 2011/01/02 10:10:57 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.44 2011/01/02 12:04:23 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -250,9 +250,14 @@ enum tbl_spant {
* A row of data in a table.
*/
struct tbl_span {
+ struct tbl *tbl;
+ struct tbl_head *head;
struct tbl_row *layout; /* layout row: CAN BE NULL */
struct tbl_dat *first;
struct tbl_dat *last;
+ int flags;
+#define TBL_SPAN_FIRST (1 << 0)
+#define TBL_SPAN_LAST (1 << 1)
enum tbl_spant pos;
struct tbl_span *next;
};