def p_next(self):
try:<EOL><INDENT>self.pos += <NUM_LIT:1><EOL>return self.input[self.pos - <NUM_LIT:1>]<EOL><DEDENT>except IndexError:<EOL><INDENT>self.pos -= <NUM_LIT:1><EOL>return None<EOL><DEDENT>
Consume and return the next char