|
|
| version 1.38, 2001/05/28 06:10:06 | version 1.41, 2001/07/24 12:26:22 |
|---|---|
| Line 4 | Line 4 |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) |
| $Id$ | |
| */ | */ |
| static const char *RCSId="$Id$"; | |
| #include "pa_opcode.h" | #include "pa_opcode.h" |
| #include "pa_request.h" | #include "pa_request.h" |
| Line 55 VStateless_class& Request::real_compile( | Line 54 VStateless_class& Request::real_compile( |
| pc.sp=0; | pc.sp=0; |
| // parse=compile! | // parse=compile! |
| // yydebug=1; | yydebug=1; |
| if(yyparse(&pc)) { // error? | if(yyparse(&pc)) { // error? |
| if(pc.col==0) { // expecting something after EOL means they've expected it BEFORE | if(pc.col==0) { // expecting something after EOL means they've expected it BEFORE |
| // step back. -1 col means EOL | // step back. -1 col means EOL |