version 1.30, 2014/08/10 23:54:41 |
version 1.32, 2015/01/21 00:47:04 |
Line 55 tbl_read(struct tbl_node *tbl, int ln, const char *p, |
|
Line 55 tbl_read(struct tbl_node *tbl, int ln, const char *p, |
|
|
|
switch (tbl->part) { |
switch (tbl->part) { |
case TBL_PART_OPTS: |
case TBL_PART_OPTS: |
return(tbl_option(tbl, ln, p) ? ROFF_IGN : ROFF_ERR); |
tbl_option(tbl, ln, p); |
|
return(ROFF_IGN); |
case TBL_PART_LAYOUT: |
case TBL_PART_LAYOUT: |
return(tbl_layout(tbl, ln, p) ? ROFF_IGN : ROFF_ERR); |
tbl_layout(tbl, ln, p); |
|
return(ROFF_IGN); |
case TBL_PART_CDATA: |
case TBL_PART_CDATA: |
return(tbl_cdata(tbl, ln, p) ? ROFF_TBL : ROFF_IGN); |
return(tbl_cdata(tbl, ln, p) ? ROFF_TBL : ROFF_IGN); |
default: |
default: |
break; |
break; |
} |
} |
|
|
/* |
tbl_data(tbl, ln, p); |
* This only returns zero if the line is empty, so we ignore it |
return(ROFF_TBL); |
* and continue on. |
|
*/ |
|
return(tbl_data(tbl, ln, p) ? ROFF_TBL : ROFF_IGN); |
|
} |
} |
|
|
struct tbl_node * |
struct tbl_node * |