def p_assignment_list(p):
    """assignment_list : assignment_list COMMA assignment_list_element
                       | assignment_list_element"""
    if len(p) == 4:
        p[0] = p[1] + [p[3]]
    else:
        p[0] = [p[1]]
