def p_excludes(t):
    """excludes : empty
                | exclude excludes"""
    if len(t) == 2:
        t[0] = []
    elif len(t) == 3:
        t[0] = [t[1]] + t[2]
    else:
        assert False
