--- parser3/src/main/compile.y 2003/01/31 16:05:58 1.204.2.5 +++ parser3/src/main/compile.y 2003/03/11 14:58:33 1.204.2.7 @@ -5,7 +5,7 @@ Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: compile.y,v 1.204.2.5 2003/01/31 16:05:58 paf Exp $ + $Id: compile.y,v 1.204.2.7 2003/03/11 14:58:33 paf Exp $ */ /** @@ -46,8 +46,6 @@ static int yylex(YYSTYPE *lvalp, void *p // local convinient inplace typecast & var #define PC (*(parse_control *)pc) #define POOL (*PC.pool) -#undef NEW -#define NEW new(POOL) #ifndef DOXYGEN %} @@ -1321,5 +1319,5 @@ static int real_yyerror(parse_control *p static void yyprint(FILE *file, int type, YYSTYPE value) { if(type==STRING) - fprintf(file, " \"%s\"", LA2S(*value)->cstr()); + fprintf(file, " \"%s\"", LA2S(*value)->cstr().get()); }