version 1.38, 2015/02/10 11:03:13 |
version 1.41, 2015/10/12 00:08:16 |
|
|
ln, *pos, "m"); |
ln, *pos, "m"); |
goto mod; |
goto mod; |
case 'p': |
case 'p': |
/* FALLTHROUGH */ |
|
case 'v': |
case 'v': |
if (p[*pos] == '-' || p[*pos] == '+') |
if (p[*pos] == '-' || p[*pos] == '+') |
(*pos)++; |
(*pos)++; |
|
|
|
|
switch (p[(*pos)++]) { |
switch (p[(*pos)++]) { |
case '3': |
case '3': |
/* FALLTHROUGH */ |
|
case 'B': |
case 'B': |
cp->flags |= TBL_CELL_BOLD; |
cp->flags |= TBL_CELL_BOLD; |
goto mod; |
goto mod; |
case '2': |
case '2': |
/* FALLTHROUGH */ |
|
case 'I': |
case 'I': |
cp->flags |= TBL_CELL_ITALIC; |
cp->flags |= TBL_CELL_ITALIC; |
goto mod; |
goto mod; |
case '1': |
case '1': |
/* FALLTHROUGH */ |
|
case 'R': |
case 'R': |
goto mod; |
goto mod; |
default: |
default: |
Line 308 tbl_layout(struct tbl_node *tbl, int ln, const char *p |
|
Line 304 tbl_layout(struct tbl_node *tbl, int ln, const char *p |
|
rp->next->first == NULL) { |
rp->next->first == NULL) { |
free(rp->next); |
free(rp->next); |
rp->next = NULL; |
rp->next = NULL; |
|
tbl->last_row = rp; |
} |
} |
} |
} |
return; |
return; |
Line 354 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
Line 351 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, e |
|
if (tbl->opts.cols <= p->col) |
if (tbl->opts.cols <= p->col) |
tbl->opts.cols = p->col + 1; |
tbl->opts.cols = p->col + 1; |
|
|
return(p); |
return p; |
} |
} |