(p)
function_type : field_type
                     | VOID
function_type : field_type
                     | VOID
function_type : field_type | VOID
def p_function_type(p):
    '''function_type : field_type
                     | VOID'''
    if p[1] == 'void':
        p[0] = TType.VOID
    else:
        p[0] = p[1]
def p_function_type ( p ) : if p [ 1 ] == 'void' : p [ 0 ] = TType . VOID else : p [ 0 ] = p [ 1 ]