--- parser3/src/classes/table.C 2001/03/25 08:52:28 1.26 +++ parser3/src/classes/table.C 2001/03/25 09:40:54 1.28 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: table.C,v 1.26 2001/03/25 08:52:28 paf Exp $ + $Id: table.C,v 1.28 2001/03/25 09:40:54 paf Exp $ */ #include "pa_config_includes.h" @@ -69,9 +69,11 @@ static void set_or_load( } // parse cells - Table& table=*new(pool) Table(pool, columns); + Table& table=*new(pool) Table(pool, &method_name, columns); char *row_chars; while(row_chars=getrow(&data)) { + if(!*row_chars) // remove empty lines + continue; Array *row=new(pool) Array(pool); while(char *cell_chars=lsplit(&row_chars, '\t')) { String *cell=new(pool) String(pool);