OSDN Git Service

[gcc/cp/ChangeLog]
authorzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 2004 00:48:27 +0000 (00:48 +0000)
committerzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 2004 00:48:27 +0000 (00:48 +0000)
2004-09-08  Ziemowit Laski  <zlaski@apple.com>

        * cp-tree.h (do_poplevel): New prototype.
        * semantics.c (do_poplevel): Make externally visible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87215 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/semantics.c

index 6a00711..76c7de3 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-08  Ziemowit Laski  <zlaski@apple.com>
+
+       * cp-tree.h (do_poplevel): New prototype.
+       * semantics.c (do_poplevel): Make externally visible.
+
 2004-09-08  Nathan Sidwell  <nathan@codesourcery.com>
 
        * cp-tree.h (tree_pair_s): Define a GC'd vector.
index 0204cc2..0555883 100644 (file)
@@ -4089,6 +4089,7 @@ extern void pop_to_parent_deferring_access_checks (void);
 extern void perform_deferred_access_checks     (void);
 extern void perform_or_defer_access_check      (tree, tree);
 extern void init_cp_semantics                   (void);
+extern tree do_poplevel                                (tree);
 extern void add_decl_expr                      (tree);
 extern tree finish_expr_stmt                    (tree);
 extern tree begin_if_stmt                       (void);
index fe687a0..b31e1e2 100644 (file)
@@ -384,7 +384,7 @@ anon_aggr_type_p (tree node)
 
 /* Finish a scope.  */
 
-static tree
+tree
 do_poplevel (tree stmt_list)
 {
   tree block = NULL;