--- parser3/src/classes/op.C 2005/11/22 15:39:42 1.152.4.6 +++ parser3/src/classes/op.C 2005/11/22 15:40:17 1.161 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_OP_C="$Date: 2005/11/22 15:39:42 $"; +static const char * const IDENT_OP_C="$Date: 2005/11/22 15:40:17 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -449,13 +449,13 @@ static Try_catch_result try_catch(Reques if(vhandled) { if(vhandled->is_string()) { // not simple $exception.handled(1/0)? if(could_be_handled_by_caller) { // and we can possibly handle it - result.exception_should_be_handled=vhandled->get_string(); // considering 'recovered' and let the caller recover - return result; - } - + result.exception_should_be_handled=vhandled->get_string(); // considering 'recovered' and let the caller recover + return result; + } + bhandled=false; } else - bhandled=vhandled->as_bool(); + bhandled=vhandled->as_bool(); } if(!bhandled) { @@ -502,7 +502,7 @@ struct Locked_process_and_cache_put_acti static StringOrValue process_cache_body_code(Request& r, Value* body_code) { - return StringOrValue(&r.process_to_string(*body_code), 0); + return StringOrValue(r.process_to_string(*body_code)); } /* @todo maybe network order worth spending some effort? @@ -523,7 +523,7 @@ static void locked_process_and_cache_put if(result.exception_should_be_handled) { if(*result.exception_should_be_handled==CACHE_EXCEPTION_HANDLED_CACHE_NAME) { assert(body_from_disk); - info.processed_code=body_from_disk; + info.processed_code=body_from_disk; } else throw Exception("parser.runtime", result.exception_should_be_handled,