def p_field_decl_list(p):
    """field_decl_list : field_decl
                       | field_decl_list field_decl
    """
    if len(p) == 2:
        p[0] = [p[1]]
    elif isinstance(p[1], list):
        p[0] = p[1] + [p[2]]
    else:
        p[0] = [p[1], p[2]]
