--- parser3/src/main/compile.y 2001/04/28 07:27:40 1.127.2.1 +++ parser3/src/main/compile.y 2001/04/28 08:30:29 1.127.2.2 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: compile.y,v 1.127.2.1 2001/04/28 07:27:40 paf Exp $ + $Id: compile.y,v 1.127.2.2 2001/04/28 08:30:29 paf Exp $ */ /** @@ -135,7 +135,7 @@ control_method: '@' STRING '\n' YYERROR; } if(command==CLASS_NAME) { - if(PC.cclass) { // already changed from default? + if(PC.cclass!=&PC.request->OP) { // already changed from default? strcpy(PC.error, "class already have a name '"); strncat(PC.error, PC.cclass->name().cstr(), 100); strcat(PC.error, "'");