--- parser3/src/main/execute.C 2001/03/19 15:29:39 1.116 +++ parser3/src/main/execute.C 2001/03/19 19:17:44 1.119 @@ -1,13 +1,15 @@ -/* - Parser +/** @file + Parser: executor part of request class. + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) - $Id: execute.C,v 1.116 2001/03/19 15:29:39 paf Exp $ + $Id: execute.C,v 1.119 2001/03/19 19:17:44 paf Exp $ */ -#include "pa_array.h" #include "code.h" +#include "pa_array.h" #include "pa_request.h" #include "pa_vstring.h" #include "pa_vhash.h" @@ -345,7 +347,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->name()==TABLE_CLASS_NAME) + if(called_class==table_class)///called_class->name()==TABLE_CLASS_NAME) self=NEW VTable(pool()); else /*if(called_class->name()==ENV_CLASS_NAME) self=NEW VEnv(pool());