--- parser3/src/include/pa_request.h 2003/04/03 06:40:38 1.160.2.37.2.18 +++ parser3/src/include/pa_request.h 2003/04/03 06:54:27 1.160.2.37.2.19 @@ -8,7 +8,7 @@ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char* IDENT_REQUEST_H="$Date: 2003/04/03 06:40:38 $"; +static const char* IDENT_REQUEST_H="$Date: 2003/04/03 06:54:27 $"; #include "pa_hash.h" #include "pa_wcontext.h" @@ -374,7 +374,7 @@ class Request_context_saver { Request& fr; /// exception stack trace - //size_t exception_trace; + size_t exception_trace; /// execution stack size_t stack; /// contexts @@ -388,7 +388,7 @@ class Request_context_saver { public: Request_context_saver(Request& ar) : - //exception_trace(ar.exception_trace.top_index()), + exception_trace(ar.exception_trace.top_index()), stack(ar.stack.top_index()), method_frame(ar.method_frame), rcontext(ar.rcontext), @@ -397,15 +397,12 @@ public: fconnection(ar.fconnection), fr(ar) {} void restore() { - //fr.exception_trace.top_index(exception_trace); + fr.exception_trace.top_index(exception_trace); fr.stack.top_index(stack); fr.method_frame=method_frame, fr.rcontext=rcontext; fr.wcontext=wcontext; fr.flang=flang; fr.fconnection=fconnection; } - void handled() { - fr.exception_trace.clear(); - } }; /// Auto-object used for temporary changing Request::flang.