(t)
return t
r'[+-]?\d+(?=\.|[Ee])(\.\d*)?([Ee][+-]?\d+)?
r'[+-]?\d+(?=\.|[Ee])(\.\d*)?([Ee][+-]?\d+)?
r [ + - ] ? \ d + ( ? = \ . | [ Ee ] ) ( \ . \ d * ) ? ( [ Ee ] [ + - ] ? \ d + ) ?
def t_DUBCONSTANT(t):
    r'[+-]?\d+(?=\.|[Ee])(\.\d*)?([Ee][+-]?\d+)?'
    t.value = float(t.value)
    return t
def t_DUBCONSTANT ( t ) : t . value = float ( t . value ) return t