def consume(self):
        self.p += 1
        if self.n >= self.p:
            self.c = EOF

        else:
            self.c = self.pattern[self.p]
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/antlr3/antlr3/treewizard.py/TreePatternLexer.consume/swapped operands of `>=`