--- parser3/src/main/compile.y 2001/03/13 14:28:51 1.95 +++ parser3/src/main/compile.y 2001/03/13 20:02:10 1.97 @@ -3,7 +3,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: compile.y,v 1.95 2001/03/13 14:28:51 paf Exp $ + $Id: compile.y,v 1.97 2001/03/13 20:02:10 paf Exp $ */ /* @@ -38,7 +38,7 @@ #include "core.h" #define SELF_ELEMENT_NAME "self" -#define USE_CONTROL_METHOD_NAME "use" +#define USE_CONTROL_METHOD_NAME "USE" int real_yyerror(parse_control *pc, char *s); static void yyprint(FILE *file, int type, YYSTYPE value); @@ -145,7 +145,6 @@ control_method: '@' STRING '\n' // defaulting base. may change with @BASE PC->cclass->set_base(PC->request->root_class); // append to request's classes - PC->request->classes_array()+=PC->cclass; PC->request->classes().put(*name, PC->cclass); } else { strcpy(PC->error, "@"CLASS_NAME" must contain sole name");