'Advance the symbol and return true iff the next symbol matches input.'

def __Accept(self, symbol_string):

    if (self.__next_symbol < len(self.__symbols)):
        logging.log(LOG_LEVEL, ' DCTB %s', self.__symbols)
        logging.log(LOG_LEVEL, ' DCTB Expect:    %s    Got:    %s', symbol_string, self.__symbols[self.__next_symbol].upper())
        if (self.__symbols[self.__next_symbol].upper() == symbol_string):
            self.__next_symbol += 1
            return True
    return False
