Check for m_input.error() in Lexer.