--- parser3/src/classes/table.C 2009/05/04 09:26:20 1.250 +++ parser3/src/classes/table.C 2009/05/05 10:20:59 1.252 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2009/05/04 09:26:20 $"; +static const char * const IDENT_TABLE_C="$Date: 2009/05/05 10:20:59 $"; #ifndef NO_STRINGSTREAM #include @@ -230,9 +230,9 @@ static void _create(Request& r, MethodPa Array_iterator i(rows); while(i.has_next()) { Table::element_type row(new ArrayString); - const String& string=*i.next(); + const String& string=*i.next(); // remove comment lines - if(!string.length()) + if(string.is_empty()) continue; size_t col_pos_after=0; @@ -622,7 +622,7 @@ static void _menu(Request& r, MethodPara int saved_current=table.current(); int size=table.count(); - if(delim_maybe_code) { + if(delim_maybe_code) { // delimiter set bool need_delim=false; for(int row=0; rowlength()) { // delimiter set and we have body + if(s_processed && !s_processed->is_empty()) { // we have body if(need_delim) // need delim & iteration produced string? r.write_pass_lang(r.process(*delim_maybe_code)); else