--- parser3/src/main/execute.C 2001/05/17 19:33:33 1.161 +++ parser3/src/main/execute.C 2001/05/21 17:12:58 1.164 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: execute.C,v 1.161 2001/05/17 19:33:33 parser Exp $ + $Id: execute.C,v 1.164 2001/05/21 17:12:58 parser Exp $ */ #include "pa_opcode.h" @@ -13,7 +13,7 @@ #include "pa_request.h" #include "pa_vstring.h" #include "pa_vhash.h" -#include "pa_vunknown.h" +#include "pa_vnothing.h" #include "pa_vcode_frame.h" #include "pa_vmethod_frame.h" #include "pa_vobject.h" @@ -694,14 +694,14 @@ void Request::execute(const Array& ops) Value *Request::get_element() { const String& name=POP_NAME(); Value *ncontext=POP(); - Value *value; + Value *value/*; if(Method* method=OP.get_method(name)) { // operator? // as if that method were in self and we have normal dynamic method here Junction& junction=*NEW Junction(pool(), *self, self->get_class(), method, 0,0,0,0); value=NEW VJunction(junction); } else - value=ncontext->get_element(name); + value*/=ncontext->get_element(name); if(value) value=&process(*value, &name); // process possible code-junction else { @@ -712,7 +712,7 @@ Value *Request::get_element() { return value; } -/** intercept_string: +/** @param intercept_string - true: they want result=string value, possible object result goes to wcontext