--- parser3/src/classes/hash.C 2003/07/24 11:31:20 1.57 +++ parser3/src/classes/hash.C 2003/11/06 11:12:44 1.58 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_HASH_C="$Date: 2003/07/24 11:31:20 $"; +static const char* IDENT_HASH_C="$Date: 2003/11/06 11:12:44 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -277,7 +277,7 @@ static void _delete(Request& r, MethodPa } #ifndef DOXYGEN -struct Foreach_info { +struct Hash_foreach_info { Request *r; const String* key_var_name; const String* value_var_name; @@ -291,7 +291,7 @@ struct Foreach_info { static void one_foreach_cycle( HashStringValue::key_type akey, HashStringValue::value_type avalue, - Foreach_info *info) { + Hash_foreach_info *info) { info->vkey->set_string(*new String(akey, String::L_TAINTED)); Value& ncontext=*info->r->get_method_frame()->caller(); ncontext.put_element(*info->key_var_name, info->vkey, false); @@ -307,7 +307,7 @@ static void one_foreach_cycle( info->r->write_pass_lang(sv_processed); } static void _foreach(Request& r, MethodParams& params) { - Foreach_info info={0}; + Hash_foreach_info info={0}; info.r=&r; info.key_var_name=¶ms.as_string(0, "key-var name must be string"); info.value_var_name=¶ms.as_string(1, "value-var name must be string");