version 1.40, 2015/04/19 20:35:20 |
version 1.41, 2015/10/06 18:32:20 |
Line 134 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, |
|
Line 134 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 1; |
} else if (p[pos] == '\0') { |
} else if (p[pos] == '\0') { |
tbl->part = TBL_PART_DATA; |
tbl->part = TBL_PART_DATA; |
return(1); |
return 1; |
} |
} |
|
|
/* Fallthrough: T} is part of a word. */ |
/* Fallthrough: T} is part of a word. */ |
Line 157 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, |
|
Line 157 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, |
|
mandoc_msg(MANDOCERR_TBLDATA_SPAN, tbl->parse, |
mandoc_msg(MANDOCERR_TBLDATA_SPAN, tbl->parse, |
ln, pos, dat->string); |
ln, pos, dat->string); |
|
|
return(0); |
return 0; |
} |
} |
|
|
static struct tbl_span * |
static struct tbl_span * |
Line 178 newspan(struct tbl_node *tbl, int line, struct tbl_row |
|
Line 178 newspan(struct tbl_node *tbl, int line, struct tbl_row |
|
dp->prev->next = dp; |
dp->prev->next = dp; |
tbl->last_span = dp; |
tbl->last_span = dp; |
|
|
return(dp); |
return dp; |
} |
} |
|
|
void |
void |