(t)
return t
r'\btrue\b|\bfalse\b
r'\btrue\b|\bfalse\b
r \ btrue \ b| \ bfalse \ b
def t_BOOLCONSTANT(t):
    r'\btrue\b|\bfalse\b'
    t.value = t.value == 'true'
    return t
def t_BOOLCONSTANT ( t ) : t . value = t . value == 'true' return t