diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-29 14:53:31 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-29 14:53:31 +0000 |
commit | 8e25f248df0dc1385f91b1da975e220bd25e4c34 (patch) | |
tree | 2c2f9a601f450969482355c97ce7d698615fc0f2 /tbl.c | |
parent | 9864cb8baea0db37f74a5bca120318017b215c1f (diff) | |
download | mandoc-8e25f248df0dc1385f91b1da975e220bd25e4c34.tar.gz |
Add handling for `T&', which restarts a table except for its options.
Diffstat (limited to 'tbl.c')
-rw-r--r-- | tbl.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -120,3 +120,11 @@ tbl_reset(struct tbl *tbl) tbl_init(tbl); } +void +tbl_restart(struct tbl *tbl) +{ + + tbl_clear(tbl); + tbl->part = TBL_PART_LAYOUT; +} + |