version 1.9, 2006/11/16 00:14:34 |
version 1.10, 2007/04/02 08:04:52 |
|
|
int tmp; |
int tmp; |
|
|
col = cur_fld->icol.num ? (&(*cur_fld).tcol) : (&(*cur_fld).icol); |
col = cur_fld->icol.num ? (&(*cur_fld).tcol) : (&(*cur_fld).icol); |
pos += sscanf(pos, "%d", &(col->num)); |
if (sscanf(pos, "%d", &(col->num)) != 1) |
|
errx(2, "missing field number"); |
|
pos++; |
while (isdigit(*pos)) |
while (isdigit(*pos)) |
pos++; |
pos++; |
if (col->num <= 0 && !(col->num == 0 && col == &(cur_fld->tcol))) |
if (col->num <= 0 && !(col->num == 0 && col == &(cur_fld->tcol))) |
|
|
if (!col->num) |
if (!col->num) |
errx(2, "cannot indent end of line"); |
errx(2, "cannot indent end of line"); |
pos++; |
pos++; |
pos += sscanf(pos, "%d", &(col->indent)); |
if (sscanf(pos, "%d", &(col->indent)) != 1) |
|
errx(2, "missing offset"); |
|
pos++; |
while (isdigit(*pos)) |
while (isdigit(*pos)) |
pos++; |
pos++; |
if (&cur_fld->icol == col) |
if (&cur_fld->icol == col) |