--- parser3/src/main/execute.C 2001/05/17 15:43:08 1.160 +++ parser3/src/main/execute.C 2001/05/28 06:10:06 1.166 @@ -5,16 +5,15 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: execute.C,v 1.160 2001/05/17 15:43:08 parser Exp $ + $Id: execute.C,v 1.166 2001/05/28 06:10:06 parser Exp $ */ -#include "pa_config_includes.h" #include "pa_opcode.h" #include "pa_array.h" #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" @@ -301,7 +300,7 @@ void Request::execute(const Array& ops) if(string) value=NEW VString(*string); else - value=NEW VUnknown(pool()); + value=NEW VNothing(pool()); wcontext=static_cast(POP()); rcontext=POP(); PUSH(value); @@ -322,7 +321,7 @@ void Request::execute(const Array& ops) if(string) value=NEW VString(*string); else - NEW VUnknown(pool()); + NEW VNothing(pool()); wcontext=static_cast(POP()); PUSH(value); break; @@ -706,14 +705,14 @@ Value *Request::get_element() { if(value) value=&process(*value, &name); // process possible code-junction else { - value=NEW VUnknown(pool()); + value=NEW VNothing(pool()); value->set_name(name); } return value; } -/** intercept_string: +/** @param intercept_string - true: they want result=string value, possible object result goes to wcontext