I saw it; was just wondering if it makes sense. EOF is inserted by the lexer at end of stream. In theory an antlr user that performs token rewriting could insert arbitrary tokens (even eof) anywere. But why would you do it with EOF? Does hibernate parser do it?