Handle EOF in all lexer state functions