--- parser3/src/main/compile.y 2001/02/21 06:59:43 1.4 +++ parser3/src/main/compile.y 2001/02/21 07:19:40 1.5 @@ -502,7 +502,7 @@ int yylex(YYSTYPE *lvalp, void *pc) { } break2: - if(PC->source-1==start) + if(PC->source-1<=start) return result; else { PC->pending_state=result; @@ -523,7 +523,7 @@ int real_yyerror (parse_control *pc, cha pc->exception->raise(0,0, 0, - "%s after %s[%d:%d]", s, pc->file, pc->line, pc->col-1); + "%s @%s[%d:%d]", s, pc->file, pc->line, pc->col-1); // never returns return 1; }