--- parser3/src/main/execute.C 2001/03/24 09:57:51 1.124 +++ parser3/src/main/execute.C 2001/03/26 08:27:26 1.126 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: execute.C,v 1.124 2001/03/24 09:57:51 paf Exp $ + $Id: execute.C,v 1.126 2001/03/26 08:27:26 paf Exp $ */ #include "pa_config_includes.h" @@ -346,7 +346,7 @@ void Request::execute(const Array& ops) wcontext->somebody_entered_some_class()) { // ^class:method[..]? // yes, this is a constructor call // some stateless_object derivates with constructors - if(called_class==table_class)///called_class->name()==TABLE_CLASS_NAME) + if(called_class==table_class) self=NEW VTable(pool()); else // stateful object self=NEW VObject(pool(), *called_class); @@ -641,7 +641,7 @@ Value *Request::get_element() { - false: they want any result[string|object] nothing goes to wcontext. - used in (expression) params evaluation + used in @c (expression) params evaluation */ Value& Request::process(Value& value, const String *name, bool intercept_string) { Value *result; @@ -652,7 +652,7 @@ Value& Request::process(Value& value, co PUSH(self); PUSH(root); PUSH(rcontext); - PUSH(wcontext); + PUSH(wcontext); WContext *frame; // for expression method params