|
|
| version 1.14, 2001/02/22 12:43:55 | version 1.15, 2001/02/22 14:14:07 |
|---|---|
| Line 38 Array& Request::real_compile(COMPILE_PAR | Line 38 Array& Request::real_compile(COMPILE_PAR |
| // parse=compile! | // parse=compile! |
| yydebug=1; | yydebug=1; |
| if(yyparse(&pc)) { // error? | if(yyparse(&pc)) { // error? |
| if(pc.col==0) { | if(pc.col==0) { // expecting something after EOL means they've expected it BEFORE |
| // step back from last char. -1 col means EOL | // step back. -1 col means EOL |
| pc.line--; | pc.line--; |
| pc.col=-2; | pc.col=-2; |
| } | } |