diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-21 00:47:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-21 00:47:04 +0000 |
commit | 131c1facdcd489bdadc435c8b52a339b53475bc3 (patch) | |
tree | 484864e88a5923409e5ba70c17759426027088dd /tbl.c | |
parent | fc0d6eeb0bd99d04344d750b1d0008087d558348 (diff) | |
download | mandoc-131c1facdcd489bdadc435c8b52a339b53475bc3.tar.gz |
blank lines in tables do not need special handling; simplifies code
and reduces groff/mandoc differences in OpenBSD base by about 1%
Diffstat (limited to 'tbl.c')
-rw-r--r-- | tbl.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -66,11 +66,8 @@ tbl_read(struct tbl_node *tbl, int ln, const char *p, int offs) break; } - /* - * This only returns zero if the line is empty, so we ignore it - * and continue on. - */ - return(tbl_data(tbl, ln, p) ? ROFF_TBL : ROFF_IGN); + tbl_data(tbl, ln, p); + return(ROFF_TBL); } struct tbl_node * |