version 1.45, 2013/05/31 21:37:17 |
version 1.47, 2014/03/23 11:25:26 |
|
|
#include <string.h> |
#include <string.h> |
#include <time.h> |
#include <time.h> |
|
|
|
#include "mandoc_aux.h" |
#include "mandoc.h" |
#include "mandoc.h" |
#include "out.h" |
#include "out.h" |
|
|
|
|
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 155 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) |