--- parser3/src/main/execute.C 2002/11/20 13:37:23 1.293 +++ parser3/src/main/execute.C 2003/01/28 15:42:40 1.295.2.2 @@ -1,11 +1,11 @@ /** @file Parser: executor part of request class. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_EXECUTE_C="$Date: 2002/11/20 13:37:23 $"; +static const char* IDENT_EXECUTE_C="$Date: 2003/01/28 15:42:40 $"; #include "pa_opcode.h" #include "pa_array.h" @@ -125,7 +125,7 @@ void Request::execute(const Array& ops) while(i.has_next()) { if(interrupted()) throw Exception("parser.interrupted", - 0, + Exception::undefined_source, "execution stopped"); Operation op; @@ -432,7 +432,7 @@ void Request::execute(const Array& ops) if(frame.junction.method->call_type!=Method::CT_STATIC) { // this is a constructor call - if(Value *value=called_class->create_new_value(pool())) { + if(ValuePtr value=called_class->create_new_value()) { // some stateless_class creatable derivates new_self=value; } else @@ -869,7 +869,7 @@ Value *Request::get_element(const String value_ready: if(value) - value=&process_to_value(*value); // process possible code-junction + value=&process_to_value(*value); // process possible code-junction else value=NEW VVoid(pool());