diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:44:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:44:55 +0000 |
commit | 323e3a106a57ad0f1823fa1f87d6bafc7f3097f3 (patch) | |
tree | 5eaf047aef732630a5c12083c81dde92234c960b /tbl.c | |
parent | d278d189880b66efa26e74464c25442317de546f (diff) | |
download | mandoc-323e3a106a57ad0f1823fa1f87d6bafc7f3097f3.tar.gz |
simplify by getting rid of ROFF_ERR in tbl(7) parsing; no functional change
Diffstat (limited to 'tbl.c')
-rw-r--r-- | tbl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -55,9 +55,11 @@ tbl_read(struct tbl_node *tbl, int ln, const char *p, int offs) switch (tbl->part) { 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: - return(tbl_layout(tbl, ln, p) ? ROFF_IGN : ROFF_ERR); + tbl_layout(tbl, ln, p); + return(ROFF_IGN); case TBL_PART_CDATA: return(tbl_cdata(tbl, ln, p) ? ROFF_TBL : ROFF_IGN); default: |