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 /roff.c | |
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 'roff.c')
-rw-r--r-- | roff.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -86,9 +86,9 @@ struct roff { struct regset *regs; /* read/writable registers */ struct roffstr *first_string; /* user-defined strings & macros */ const char *current_string; /* value of last called user macro */ - struct tbl *first_tbl; /* first table parsed */ - struct tbl *last_tbl; /* last table parsed */ - struct tbl *tbl; /* current table being parsed */ + struct tbl_node *first_tbl; /* first table parsed */ + struct tbl_node *last_tbl; /* last table parsed */ + struct tbl_node *tbl; /* current table being parsed */ }; struct roffnode { @@ -301,7 +301,7 @@ roffnode_push(struct roff *r, enum rofft tok, const char *name, static void roff_free1(struct roff *r) { - struct tbl *t; + struct tbl_node *t; while (r->first_tbl) { t = r->first_tbl; @@ -1152,7 +1152,7 @@ roff_T_(ROFF_ARGS) static enum rofferr roff_TS(ROFF_ARGS) { - struct tbl *t; + struct tbl_node *t; if (r->tbl) { (*r->msg)(MANDOCERR_SCOPEBROKEN, r->data, ln, ppos, NULL); |