--- parser3/src/main/compile_tools.h 2009/08/14 23:36:55 1.99 +++ parser3/src/main/compile_tools.h 2009/08/27 10:18:58 1.101 @@ -8,7 +8,7 @@ #ifndef COMPILE_TOOLS #define COMPILE_TOOLS -static const char * const IDENT_COMPILE_TOOLS_H="$Date: 2009/08/14 23:36:55 $"; +static const char * const IDENT_COMPILE_TOOLS_H="$Date: 2009/08/27 10:18:58 $"; #include "pa_opcode.h" #include "pa_types.h" @@ -131,8 +131,10 @@ public: } VStateless_class* get_existed_class(VStateless_class* aclass){ + // checking existence of the class during processing @OPTIONS\npartial + // method should't use get_class because the last one will call operator @autouse[] if the class wasn't loaded if(aclass) - if(Value* class_value=request.get_class(aclass->name())) + if(Value* class_value=request.classes().get(aclass->name())) return class_value->get_class(); return 0; }