--- parser3/src/main/execute.C 2009/05/23 05:23:03 1.338 +++ parser3/src/main/execute.C 2009/05/23 05:55:04 1.339 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_EXECUTE_C="$Date: 2009/05/23 05:23:03 $"; +static const char * const IDENT_EXECUTE_C="$Date: 2009/05/23 05:55:04 $"; #include "pa_opcode.h" #include "pa_array.h" @@ -348,7 +348,7 @@ void Request::execute(ArrayOperation& op wcontext->set_in_expression(true); put_element( (with_root)?*method_frame:*wcontext, name, &value.as_expr_result()); } else { - put_element( (with_root)?*method_frame:*wcontext, name, &value); + put_element( (with_root)?*method_frame:*wcontext, name, value.is_void()?new VString():&value); } break; } @@ -386,7 +386,7 @@ void Request::execute(ArrayOperation& op wcontext->set_in_expression(true); put_element( (with_root)?*method_frame:*wcontext, name, &value.as_expr_result()); } else { - put_element( (with_root)?*method_frame:*wcontext, name, &value); + put_element( (with_root)?*method_frame:*wcontext, name, value.is_void()?new VString():&value); } break; }