--- parser3/src/main/pa_request.C 2002/09/18 12:40:38 1.230 +++ parser3/src/main/pa_request.C 2002/10/14 12:16:06 1.232 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_REQUEST_C="$Date: 2002/09/18 12:40:38 $"; +static const char* IDENT_REQUEST_C="$Date: 2002/10/14 12:16:06 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -400,7 +400,7 @@ t[9]-t[3] frame.store_param(NEW VTable(pool(), &stack_trace)); // future $response:body= - // execute ^exception[origin;source;comment;type;code;stack] + // execute ^unhandled_exception[exception;stack] body_string=&execute_method(frame, *method); } } @@ -513,7 +513,7 @@ VStateless_class *Request::use_buf(const // locate and execute possible @conf[] static const Method *method_called; execute_nonvirtual_method(cclass, - *conf_method_name, vfilespec, + cclass.get_method(*conf_method_name), vfilespec, 0/*no result needed*/, &method_called); if(method_called) { if(!main_class) @@ -522,8 +522,9 @@ VStateless_class *Request::use_buf(const } // locate and execute possible @auto[] static - execute_nonvirtual_method(cclass, - *auto_method_name, vfilespec, + execute_nonvirtual_method( + &cclass==&OP?*main_class:cclass, // execute operators@auto in MAIN context + cclass.get_method(*auto_method_name), vfilespec, 0/*no result needed*/); return &cclass; }