--- parser3/src/main/compile.tab.C 2002/09/20 09:26:32 1.68 +++ parser3/src/main/compile.tab.C 2002/10/15 14:00:44 1.72 @@ -43,7 +43,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: compile.tab.C,v 1.68 2002/09/20 09:26:32 paf Exp $ + $Id: compile.tab.C,v 1.72 2002/10/15 14:00:44 paf Exp $ */ /** @@ -72,8 +72,8 @@ #include "pa_vdouble.h" #include "pa_globals.h" #include "pa_vvoid.h" +#include "pa_vmethod_frame.h" -#define SELF_ELEMENT_NAME "self" #define USE_CONTROL_METHOD_NAME "USE" static int real_yyerror(parse_control *pc, char *s); @@ -1077,7 +1077,7 @@ case 8: } } else if(command==USE_CONTROL_METHOD_NAME) { for(int i=0; isize(); i+=2) - PC.request->use_file(*LA2S(strings_code, i)); + PC.request->use_file(PC.request->main_class, *LA2S(strings_code, i)); } else if(command==BASE_NAME) { if(PC.cclass->base_class()) { // already changed from default? strcpy(PC.error, "class already have a base '");