Changing 'StatusCodeLexer' to check for end of input