--- parser3/src/main/compile_tools.h 2009/07/22 02:20:30 1.98 +++ 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/07/22 02:20:30 $"; +static const char * const IDENT_COMPILE_TOOLS_H="$Date: 2009/08/27 10:18:58 $"; #include "pa_opcode.h" #include "pa_types.h" @@ -131,11 +131,11 @@ public: } VStateless_class* get_existed_class(VStateless_class* aclass){ - if(aclass){ - if(Value* class_value=request.classes().get(aclass->name())){ + // 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.classes().get(aclass->name())) return class_value->get_class(); - } - } return 0; }