def consume(self):
        self.index += 1
        if self.index >= len(self.input):
            self.c = EOF
        else:
            self.c = self.input[self.index]
dataset/ETHPy150Open guillermooo/Mercurial/shglib/parsing.py/Lexer.consume/original