> Actually the problem is calling skipLine when there is a parsing error. > I use (where TFLexer is my lexer) that's fine for me ! :-) I write an interpreter with a line by line basis. So, I simply call parser.skipLine() after an error... thanks. Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/