summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-05-31 22:08:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-05-31 22:08:09 +0000
commit1dd60fad1a59475e372291d0dd558394c86b1c5a (patch)
tree0c2ad15d619cfb49ef7306a3bf676e1e93f92310 /roff.c
parentf19a462f8c4f50fb9b2536a7f21f2530a2248ec5 (diff)
downloadmandoc-1dd60fad1a59475e372291d0dd558394c86b1c5a.tar.gz
More cleanup: Consistently use the name "struct tbl_node *tbl"
that is already used almost everywhere instead of gratuitiously inventing different names at four places. No functional change.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/roff.c b/roff.c
index 231977a2..38a3eaf5 100644
--- a/roff.c
+++ b/roff.c
@@ -393,13 +393,13 @@ roffnode_push(struct roff *r, enum rofft tok, const char *name,
static void
roff_free1(struct roff *r)
{
- struct tbl_node *t;
+ struct tbl_node *tbl;
struct eqn_node *e;
int i;
- while (NULL != (t = r->first_tbl)) {
- r->first_tbl = t->next;
- tbl_free(t);
+ while (NULL != (tbl = r->first_tbl)) {
+ r->first_tbl = tbl->next;
+ tbl_free(tbl);
}
r->first_tbl = r->last_tbl = r->tbl = NULL;
@@ -1413,21 +1413,21 @@ roff_EN(ROFF_ARGS)
static enum rofferr
roff_TS(ROFF_ARGS)
{
- struct tbl_node *t;
+ struct tbl_node *tbl;
if (r->tbl) {
mandoc_msg(MANDOCERR_SCOPEBROKEN, r->parse, ln, ppos, NULL);
tbl_end(&r->tbl);
}
- t = tbl_alloc(ppos, ln, r->parse);
+ tbl = tbl_alloc(ppos, ln, r->parse);
if (r->last_tbl)
- r->last_tbl->next = t;
+ r->last_tbl->next = tbl;
else
- r->first_tbl = r->last_tbl = t;
+ r->first_tbl = r->last_tbl = tbl;
- r->tbl = r->last_tbl = t;
+ r->tbl = r->last_tbl = tbl;
return(ROFF_IGN);
}