--- parser3/src/main/execute.C 2001/03/27 18:06:10 1.130 +++ parser3/src/main/execute.C 2001/03/28 13:21:30 1.132 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: execute.C,v 1.130 2001/03/27 18:06:10 paf Exp $ + $Id: execute.C,v 1.132 2001/03/28 13:21:30 paf Exp $ */ #include "pa_config_includes.h" @@ -21,6 +21,7 @@ #include "pa_vdouble.h" #include "pa_vbool.h" #include "pa_vtable.h" +#include "pa_vfile.h" #include @@ -153,7 +154,7 @@ void Request::execute(const Array& ops) &frame->junction.self /* ^t.menu{} */:rcontext/* ^if() */, op.code==OP_EXPR_CODE__STORE_PARAM? 0:wcontext->somebody_entered_some_object()>1? - &frame->junction.self /* ^t.menu{} */:wcontext/* ^if() */, + frame/* ^t.menu{} */:wcontext/* ^if() */, local_ops); Value *value=NEW VJunction(j); @@ -364,6 +365,8 @@ void Request::execute(const Array& ops) // some stateless_object derivates with constructors if(called_class==table_class) self=NEW VTable(pool()); + else if(called_class==file_class) + self=NEW VFile(pool()); else // stateful object self=NEW VObject(pool(), *called_class); frame->write(*self,