version 1.7, 2011/01/02 12:04:23 |
version 1.10, 2011/01/04 23:48:39 |
|
|
case ('d'): |
case ('d'): |
cp->flags |= TBL_CELL_BALIGN; |
cp->flags |= TBL_CELL_BALIGN; |
goto mod; |
goto mod; |
|
case ('w'): /* XXX for now, ignore minimal column width */ |
|
goto mod; |
case ('f'): |
case ('f'): |
break; |
break; |
case ('b'): |
case ('b'): |
Line 294 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
Line 296 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
* ones. |
* ones. |
*/ |
*/ |
|
|
h = pp ? pp->head->prev : tbl->first_head; |
h = pp ? pp->head->next : tbl->first_head; |
|
|
if (h) { |
if (h) { |
/* Re-use data header. */ |
/* Re-use data header. */ |
Line 319 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
Line 321 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
(TBL_CELL_VERT == p->pos || |
(TBL_CELL_VERT == p->pos || |
TBL_CELL_DVERT == p->pos)) { |
TBL_CELL_DVERT == p->pos)) { |
hp = mandoc_calloc(1, sizeof(struct tbl_head)); |
hp = mandoc_calloc(1, sizeof(struct tbl_head)); |
|
hp->ident = tbl->opts.cols++; |
hp->prev = h->prev; |
hp->prev = h->prev; |
if (h->prev) |
if (h->prev) |
h->prev->next = hp; |
h->prev->next = hp; |
Line 341 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
Line 344 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
} |
} |
|
|
hp = mandoc_calloc(1, sizeof(struct tbl_head)); |
hp = mandoc_calloc(1, sizeof(struct tbl_head)); |
|
hp->ident = tbl->opts.cols++; |
|
|
if (tbl->last_head) { |
if (tbl->last_head) { |
hp->prev = tbl->last_head; |
hp->prev = tbl->last_head; |