|
|
| version 1.12, 2001/02/22 09:36:23 | version 1.13, 2001/02/22 10:43:45 |
|---|---|
| Line 20 Array& Request::real_compile(COMPILE_PAR | Line 20 Array& Request::real_compile(COMPILE_PAR |
| // input | // input |
| pc.pool=&pool(); | pc.pool=&pool(); |
| pc.methods=new(pool()) Array(pool()); | pc.methods=NEW Array(pool()); |
| if(!source) | if(!source) |
| return *pc.methods; | return *pc.methods; |
| Line 31 Array& Request::real_compile(COMPILE_PAR | Line 31 Array& Request::real_compile(COMPILE_PAR |
| #endif | #endif |
| // initialise state | // initialise state |
| pc.pending_state=0; | pc.pending_state=0; |
| pc.string=new(pool()) String(pool()); | pc.string=NEW String(pool()); |
| pc.ls=LS_USER; | pc.ls=LS_USER; |
| pc.sp=0; | pc.sp=0; |
| Line 43 Array& Request::real_compile(COMPILE_PAR | Line 43 Array& Request::real_compile(COMPILE_PAR |
| pc.line--; | pc.line--; |
| pc.col=-1; | pc.col=-1; |
| } | } |
| exception().raise(0,0, | THROW(0,0, |
| 0, | 0, |
| "%s [%s:%d:%d]", pc.error, file, 1+pc.line, pc.col); | "%s [%s:%d:%d]", pc.error, file, 1+pc.line, pc.col); |
| } | } |