--- parser3/src/main/pa_request.C 2017/02/07 22:00:44 1.374 +++ parser3/src/main/pa_request.C 2017/05/03 17:53:19 1.375 @@ -33,7 +33,7 @@ #include "pa_vconsole.h" #include "pa_vdate.h" -volatile const char * IDENT_PA_REQUEST_C="$Id: pa_request.C,v 1.374 2017/02/07 22:00:44 moko Exp $" IDENT_PA_REQUEST_H IDENT_PA_REQUEST_CHARSETS_H IDENT_PA_REQUEST_INFO_H IDENT_PA_VCONSOLE_H; +volatile const char * IDENT_PA_REQUEST_C="$Id: pa_request.C,v 1.375 2017/05/03 17:53:19 moko Exp $" IDENT_PA_REQUEST_H IDENT_PA_REQUEST_CHARSETS_H IDENT_PA_REQUEST_INFO_H IDENT_PA_VCONSOLE_H; // consts @@ -229,7 +229,7 @@ Value& Request::get_self() { return meth VStateless_class* Request::get_class(const String& name){ VStateless_class* result=classes().get(name); if(!result) - if(const Method *method=main_class.get_method(autouse_method_name)){ + if(const Method *method=main_class.get_element_method(autouse_method_name)){ Value *vname=new VString(name); CONSTRUCTOR_FRAME_ACTION(*method, 0 /*no parent*/, main_class, { frame.store_params(&vname, 1); @@ -634,7 +634,7 @@ void Request::use_file(const String& fil static String use("USE"); try { static VHash* voptions=new VHash(); - if(const Method *method=main_class.get_method(use_method_name)){ + if(const Method *method=main_class.get_element_method(use_method_name)){ Value *params[]={new VString(file_name), voptions}; voptions->hash().put(origin_key, new VString(*use_filespec));