--- parser3/src/include/pa_request.h 2002/01/21 12:10:07 1.118 +++ parser3/src/include/pa_request.h 2002/02/18 15:21:00 1.122 @@ -1,10 +1,10 @@ /** @file Parser: request class decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_request.h,v 1.118 2002/01/21 12:10:07 paf Exp $ + $Id: pa_request.h,v 1.122 2002/02/18 15:21:00 paf Exp $ */ #ifndef PA_REQUEST_H @@ -142,8 +142,11 @@ public: } /// appending sure value, that would be converted to clean string void write_no_lang(Value& avalue) { - wcontext->write(avalue, - String::UL_CLEAN | flang&String::UL_OPTIMIZE_BIT); + if(wcontext->get_in_expression()) + wcontext->write(avalue); + else + wcontext->write(avalue, + String::UL_CLEAN | flang&String::UL_OPTIMIZE_BIT); } /// appending sure value, not VString void write_expr_result(Value& avalue) { @@ -237,7 +240,7 @@ private: // execute.C const String& method_name, bool return_cstr); - Value *get_element(); + Value *get_element(bool can_call_operator); private: // defaults