version 1.45, 2013/05/31 21:37:17 |
version 1.46, 2013/10/05 20:30:05 |
|
|
tblcalc(struct rofftbl *tbl, const struct tbl_span *sp) |
tblcalc(struct rofftbl *tbl, const struct tbl_span *sp) |
{ |
{ |
const struct tbl_dat *dp; |
const struct tbl_dat *dp; |
const struct tbl_head *hp; |
|
struct roffcol *col; |
struct roffcol *col; |
int spans; |
int spans; |
|
|
Line 155 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
Line 154 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp |
|
assert(NULL == tbl->cols); |
assert(NULL == tbl->cols); |
tbl->cols = mandoc_calloc |
tbl->cols = mandoc_calloc |
((size_t)sp->opts->cols, sizeof(struct roffcol)); |
((size_t)sp->opts->cols, sizeof(struct roffcol)); |
|
|
hp = sp->head; |
|
|
|
for ( ; sp; sp = sp->next) { |
for ( ; sp; sp = sp->next) { |
if (TBL_SPAN_DATA != sp->pos) |
if (TBL_SPAN_DATA != sp->pos) |