version 1.42, 2017/06/08 18:11:22 |
version 1.47, 2018/12/14 01:18:26 |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
#include <ctype.h> |
#include <ctype.h> |
|
#include <stdint.h> |
|
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
#include <time.h> |
#include <time.h> |
|
|
#include "mandoc.h" |
|
#include "mandoc_aux.h" |
#include "mandoc_aux.h" |
|
#include "mandoc.h" |
|
#include "tbl.h" |
#include "libmandoc.h" |
#include "libmandoc.h" |
#include "libroff.h" |
#include "tbl_int.h" |
|
|
struct tbl_phrase { |
struct tbl_phrase { |
char name; |
char name; |
Line 298 tbl_layout(struct tbl_node *tbl, int ln, const char *p |
|
Line 301 tbl_layout(struct tbl_node *tbl, int ln, const char *p |
|
tbl->parse, ln, pos, NULL); |
tbl->parse, ln, pos, NULL); |
cell_alloc(tbl, tbl->first_row, |
cell_alloc(tbl, tbl->first_row, |
TBL_CELL_LEFT); |
TBL_CELL_LEFT); |
|
if (tbl->opts.lvert < tbl->first_row->vert) |
|
tbl->opts.lvert = tbl->first_row->vert; |
return; |
return; |
} |
} |
|
|
Line 355 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
Line 360 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
struct tbl_cell *p, *pp; |
struct tbl_cell *p, *pp; |
|
|
p = mandoc_calloc(1, sizeof(*p)); |
p = mandoc_calloc(1, sizeof(*p)); |
|
p->spacing = SIZE_MAX; |
p->pos = pos; |
p->pos = pos; |
|
|
if ((pp = rp->last) != NULL) { |
if ((pp = rp->last) != NULL) { |