--- parser3/src/main/compile.C 2001/02/21 17:36:58 1.10 +++ parser3/src/main/compile.C 2001/02/22 09:36:23 1.12 @@ -1,5 +1,5 @@ /* - $Id: compile.C,v 1.10 2001/02/21 17:36:58 paf Exp $ + $Id: compile.C,v 1.12 2001/02/22 09:36:23 paf Exp $ */ #include "pa_request.h" @@ -31,12 +31,12 @@ Array& Request::real_compile(COMPILE_PAR #endif // initialise state pc.pending_state=0; - String string(pool()); pc.string=&string; + pc.string=new(pool()) String(pool()); pc.ls=LS_USER; pc.sp=0; - // parse! - yydebug=1; + // parse=compile! + ///yydebug=1; if(yyparse(&pc)) { // error? if(pc.col==1) { // step back from last char. -1 col means EOL