--- parser3/src/main/execute.C 2002/08/13 13:02:40 1.251 +++ parser3/src/main/execute.C 2002/08/13 15:55:42 1.252 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_EXECUTE_C="$Date: 2002/08/13 13:02:40 $"; +static const char* IDENT_EXECUTE_C="$Date: 2002/08/13 15:55:42 $"; #include "pa_opcode.h" #include "pa_array.h" @@ -858,12 +858,12 @@ Value *Request::get_element(const String if(read_class->derived_from(*called_class)) // current derived from called if(Value *base_object=self->base_object()) { // doing DYNAMIC call Temp_derived(*base_object, 0); // temporarily prevent go-back-down virtual calls - value=base_object->get_element(name, base_object); // virtual-up lookup starting from parent + value=base_object->get_element(name, base_object, false); // virtual-up lookup starting from parent goto _void; } } if(!value) - value=ncontext->get_element(name, ncontext); + value=ncontext->get_element(name, ncontext, false); _void: if(value) @@ -1032,7 +1032,7 @@ void Request::execute_nonvirtual_method( const String *Request::execute_virtual_method(Value& aself, const String& method_name) { - if(Value *value=aself.get_element(method_name, &aself)) + if(Value *value=aself.get_element(method_name, &aself, false)) if(Junction *junction=value->get_junction()) if(const Method *method=junction->method) { const String *result;