Report "Unexpected end of input" at EOI

Instead of "Invalid input 'EOI'"