def p_top_statement_list(p):
    """top_statement_list : top_statement_list top_statement
                          | empty"""
    if len(p) == 3:
        p[0] = p[1] + [p[2]]
    else:
        p[0] = []
