--- parser3/src/classes/table.C 2004/03/25 11:50:10 1.197 +++ parser3/src/classes/table.C 2004/03/30 08:41:13 1.200 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2004/03/25 11:50:10 $"; +static const char * const IDENT_TABLE_C="$Date: 2004/03/30 08:41:13 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -251,7 +251,8 @@ static void skip_empty_and_comment_lines while( char c=*data ) { if( c== '\n' || c == '#' ) { /*nowhere=*/getrow(&data); // remove empty&comment lines - *data_ref=data; + if(!(*data_ref=data)) + break; continue; } break; @@ -335,8 +336,6 @@ static void _load(Request& r, MethodPara Table::element_type row(new ArrayString); skip_empty_and_comment_lines(&data); while( lsplit_result sr=lsplit(&data, separators.column, '\n', separators.encloser) ) { - if(!sr.delim && !row->count()) // append last empty column [if without \n] - break; *row+=new String(sr.piece, 0, true); if(sr.delim=='\n') { table+=row;