version 1.44, 2017/07/04 21:08:29 |
version 1.45, 2017/07/08 17:52:50 |
Line 128 getdata(struct tbl_node *tbl, struct tbl_span *dp, |
|
Line 128 getdata(struct tbl_node *tbl, struct tbl_span *dp, |
|
tbl->parse, ln, sv, dat->string); |
tbl->parse, ln, sv, dat->string); |
} |
} |
|
|
int |
void |
tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) |
tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) |
{ |
{ |
struct tbl_dat *dat; |
struct tbl_dat *dat; |
Line 143 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, |
|
Line 143 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, |
|
pos++; |
pos++; |
while (p[pos] != '\0') |
while (p[pos] != '\0') |
getdata(tbl, tbl->last_span, ln, p, &pos); |
getdata(tbl, tbl->last_span, ln, p, &pos); |
return 1; |
return; |
} else if (p[pos] == '\0') { |
} else if (p[pos] == '\0') { |
tbl->part = TBL_PART_DATA; |
tbl->part = TBL_PART_DATA; |
return 1; |
return; |
} |
} |
|
|
/* Fallthrough: T} is part of a word. */ |
/* Fallthrough: T} is part of a word. */ |
Line 166 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, |
|
Line 166 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, |
|
if (dat->layout->pos == TBL_CELL_DOWN) |
if (dat->layout->pos == TBL_CELL_DOWN) |
mandoc_msg(MANDOCERR_TBLDATA_SPAN, tbl->parse, |
mandoc_msg(MANDOCERR_TBLDATA_SPAN, tbl->parse, |
ln, pos, dat->string); |
ln, pos, dat->string); |
|
|
return 0; |
|
} |
} |
|
|
static struct tbl_span * |
static struct tbl_span * |