From eaae29b74b1f45f13fc7edacce3631f05b0ba412 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 1 Jan 2011 13:37:40 +0000 Subject: Switch on tbl rows being added to the parse stream. Here we go! --- tbl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tbl.c') diff --git a/tbl.c b/tbl.c index f91aec29..a4d3fa92 100644 --- a/tbl.c +++ b/tbl.c @@ -56,11 +56,11 @@ tbl_read(struct tbl *tbl, int ln, const char *p, int offs) break; } - /* - * FIXME: allow the original string to slip through for the time - * being. + /* + * This only returns zero if the line is empty, so we ignore it + * and continue on. */ - return(tbl_data(tbl, ln, p) ? ROFF_CONT : ROFF_ERR); + return(tbl_data(tbl, ln, p) ? ROFF_TBL : ROFF_IGN); } struct tbl * -- cgit