--- parser3/src/classes/table.C 2004/03/30 08:41:13 1.200 +++ parser3/src/classes/table.C 2004/04/01 15:08:48 1.201 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2004/03/30 08:41:13 $"; +static const char * const IDENT_TABLE_C="$Date: 2004/04/01 15:08:48 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -336,6 +336,8 @@ 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.piece && !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;