|
|
| version 1.17, 2001/02/23 22:22:08 | version 1.18, 2001/02/24 15:26:03 |
|---|---|
| Line 14 | Line 14 |
| extern int yydebug; | extern int yydebug; |
| extern int yyparse (void *); | extern int yyparse (void *); |
| Array& Request::real_compile(COMPILE_PARAMS) { | VClass& Request::real_compile(COMPILE_PARAMS) { |
| // prepare to parse | // prepare to parse |
| struct parse_control pc; | struct parse_control pc; |
| // input | // input |
| pc.pool=&pool(); | pc.pool=&pool(); |
| pc.methods=NEW Array(pool()); | pc.request=this; |
| pc.vclass=NEW VClass(pool()); | |
| if(!source) | if(!source) |
| return *pc.methods; | return *pc.vclass; |
| pc.source=source; | pc.source=source; |
| #ifndef NO_STRING_ORIGIN | #ifndef NO_STRING_ORIGIN |
| Line 49 Array& Request::real_compile(COMPILE_PAR | Line 50 Array& Request::real_compile(COMPILE_PAR |
| } | } |
| // result | // result |
| return *pc.methods; | return *pc.vclass; |
| } | } |