--- parser3/src/classes/Attic/root.C 2001/03/18 17:18:34 1.44 +++ parser3/src/classes/Attic/root.C 2001/03/21 14:06:42 1.47 @@ -3,16 +3,16 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: root.C,v 1.44 2001/03/18 17:18:34 paf Exp $ + $Id: root.C,v 1.47 2001/03/21 14:06:42 paf Exp $ */ #include #include +#include "pa_common.h" #include "pa_request.h" #include "_root.h" #include "pa_vint.h" -#include "pa_common.h" static void _if(Request& r, const String& method_name, Array *params) { Value& condition_code=*static_cast(params->get(0)); @@ -74,11 +74,11 @@ static void _taint(Request& r, const Str method_name, "body must not be junction"); // set temporarily as-is language - Temp_lang temp_lang(r, String::Untaint_lang::AS_IS); + Temp_lang temp_lang(r, String::UL_AS_IS); String result(r.pool()); result.append( r.process(*vbody).as_string(), // process marking tainted with that lang - lang); // switch result language to specified + lang, true); // force result language to specified r.write_pass_lang(result); } }