--- parser3/src/classes/table.C 2001/10/31 14:08:36 1.129 +++ parser3/src/classes/table.C 2001/11/20 17:58:47 1.131 @@ -2,9 +2,9 @@ Parser: @b table parser class. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: table.C,v 1.129 2001/10/31 14:08:36 paf Exp $ + $Id: table.C,v 1.131 2001/11/20 17:58:47 paf Exp $ */ #include "classes.h" @@ -467,7 +467,7 @@ public: statement_string(astatement_string), statement_cstr(astatement_cstr), columns(*new(pool) Array(pool)), - row(0), row_index(0), + row(0), table(0) { } @@ -490,7 +490,7 @@ public: if(size) cell->APPEND_TAINTED( (const char *)ptr, size, - statement_cstr, row_index++); + statement_cstr, table->size()-1); (*row)+=cell; } @@ -500,7 +500,6 @@ private: const String& statement_string; const char *statement_cstr; Array& columns; Array *row; - uint row_index; public: Table *table; };