--- parser3/src/main/execute.C 2003/03/04 10:15:01 1.295.2.22 +++ parser3/src/main/execute.C 2003/03/04 15:20:07 1.295.2.24 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_EXECUTE_C="$Date: 2003/03/04 10:15:01 $"; +static const char* IDENT_EXECUTE_C="$Date: 2003/03/04 15:20:07 $"; #include "pa_opcode.h" #include "pa_array.h" @@ -116,7 +116,7 @@ void Request::execute(ArrayOperation& op //ArrayOperationPtr b_code; StringPtr name; - Value* ncontext; + ValuePtr ncontext; ArrayOperationPtr local_ops; @@ -178,7 +178,7 @@ void Request::execute(ArrayOperation& op { if(wcontext==method_frame) throw Exception("parser.runtime", - Exception::undefined_source, + Exception::undefined_source, "$.name outside of $name[...]"); stack.push(ValuePtr(wcontext)); @@ -190,7 +190,7 @@ void Request::execute(ArrayOperation& op { value=stack.pop().value; name=stack.pop().string(pool()); - ncontext=stack.pop().value.get(); + ncontext=stack.pop().value; ncontext->put_element(name, value, false); break; } @@ -201,7 +201,7 @@ void Request::execute(ArrayOperation& op value=stack.pop().value; name=stack.pop().string(pool()); - ncontext=stack.pop().value.get(); + ncontext=stack.pop().value; ncontext->put_element(name, value->as_expr_result(), false); break; } @@ -220,7 +220,7 @@ void Request::execute(ArrayOperation& op local_ops)))); name=stack.pop().string(pool()); - ncontext=stack.pop().value.get(); + ncontext=stack.pop().value; ncontext->put_element(name, value, false); break; }