def p_tuplefield(token):
    """
    tuplefield : COMMA type
               | COMMA type tuplefield
    """
    if len(token) > 3:
        tuplefield = token[3]
        tuplefield.insert(0, token[2])
        token[0] = tuplefield
    else:
        token[0] = [token[2]]
