--- parser3/src/classes/table.C 2009/07/07 05:47:43 1.262 +++ parser3/src/classes/table.C 2009/08/08 13:30:20 1.264 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_TABLE_C="$Date: 2009/07/07 05:47:43 $"; +static const char * const IDENT_TABLE_C="$Date: 2009/08/08 13:30:20 $"; #if (!defined(NO_STRINGSTREAM) && !defined(FREEBSD4)) #include @@ -26,7 +26,7 @@ using namespace std; class MTable: public Methoded { public: // VStateless_class - Value* create_new_value(Pool&, HashStringValue*) { return new VTable(); } + Value* create_new_value(Pool&) { return new VTable(); } public: MTable(); @@ -39,10 +39,6 @@ public: // Methoded DECLARE_CLASS_VAR(table, new MTable, 0); -// externs - -extern String cycle_data_name; - #define TABLE_REVERSE_NAME "reverse" // globals @@ -611,8 +607,7 @@ static void _offset(Request& r, MethodPa } static void _menu(Request& r, MethodParams& params) { - Temp_hash_value - cycle_data_setter(r.classes_conf, cycle_data_name, /*any not null flag*/&r); + InCycle temp(r); Value& body_code=params.as_junction(0, "body must be code");