def p_character_constant(self, p):
        try:
            value = ord(eval(p[1].lstrip('L')))
        except StandardError:
            value = 0
        p[0] = ConstantExpressionNode(value)
character_constant : CHARACTER_CONSTANT
dataset/ETHPy150Open ardekantur/pyglet/tools/wraptypes/preprocessor.py/ConstantExpressionGrammar.p_character_constant