diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-02 10:10:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-02 10:10:57 +0000 |
commit | 18bac1d9d98fd8bc679a1de9e741fb25e542062e (patch) | |
tree | 10e164afcd2ef05278dbcbe506f45444082d3a17 /mandoc.h | |
parent | 52b05cf7e6f8b28dfbdbbdbdbeb9fd3f45b32407 (diff) | |
download | mandoc-18bac1d9d98fd8bc679a1de9e741fb25e542062e.tar.gz |
Churn to get parts of 'struct tbl' visible from mandoc.h: rename the
existing 'struct tbl' as 'struct tbl_node', then move all option stuff
into a 'struct tbl' in mandoc.h.
This conflicted with a structure in chars.c, which was renamed.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -145,6 +145,21 @@ enum mandocerr { MANDOCERR_MAX }; +struct tbl { + char tab; /* cell-separator */ + char decimal; /* decimal point */ + int linesize; + char delims[2]; + int opts; +#define TBL_OPT_CENTRE (1 << 0) +#define TBL_OPT_EXPAND (1 << 1) +#define TBL_OPT_BOX (1 << 2) +#define TBL_OPT_DBOX (1 << 3) +#define TBL_OPT_ALLBOX (1 << 4) +#define TBL_OPT_NOKEEP (1 << 5) +#define TBL_OPT_NOSPACE (1 << 6) +}; + enum tbl_headt { TBL_HEAD_DATA, /* plug in data from tbl_dat */ TBL_HEAD_VERT, /* vertical spacer */ |