--- parser3/src/main/compile.C 2001/05/07 14:00:49 1.36 +++ parser3/src/main/compile.C 2001/07/24 12:26:22 1.41 @@ -4,9 +4,8 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - - $Id: compile.C,v 1.36 2001/05/07 14:00:49 paf Exp $ */ +static const char *RCSId="$Id: compile.C,v 1.41 2001/07/24 12:26:22 parser Exp $"; #include "pa_opcode.h" #include "pa_request.h" @@ -34,6 +33,7 @@ VStateless_class& Request::real_compile( // yes. create it cclass=NEW VClass(pool()); // defaulting base. may change with @BASE + // dont use ?: for there would be getting & of temp object if(base_class) cclass->set_base(*base_class); classes().put(*name, cclass); @@ -54,7 +54,7 @@ VStateless_class& Request::real_compile( pc.sp=0; // parse=compile! -// yydebug=1; + yydebug=1; if(yyparse(&pc)) { // error? if(pc.col==0) { // expecting something after EOL means they've expected it BEFORE // step back. -1 col means EOL