c-ada-spec.c (max_ada_macros): Move around.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 29 Sep 2017 18:17:47 +0000 (18:17 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 29 Sep 2017 18:17:47 +0000 (18:17 +0000)
commit79310774839953f17cc5aae75ab332c788784466
tree4c755d99378b2e1d37b165d606269914ca37d8a7
parent249be95c772d6487b48a0d1cd2a459762cff4f9b
c-ada-spec.c (max_ada_macros): Move around.

* c-ada-spec.c (max_ada_macros): Move around.
(store_ada_macro_index): Likewise.
(source_file): Rename into...
(macro_source_file): ...this.
(count_ada_macro): Move around.
(store_ada_macro): Likewise.
(compare_macro): Likewise.
(print_ada_macros): Merge in...
(dump_ada_macros): ...this.
(source_file_base): Rename into...
(current_source_file): ...this.
(print_comment): Move around.
(dump_ada_nodes): Call dump_ada_declaration directly.
(struct with): Change type of limited field to bool.
(append_withs): Change type of limited_access parameter to bool.
(pp_ada_tree_identifie): Likewise.
(dump_ada_decl_nam): Likewise.
(dump_generic_ada_node): Likewise.  Do not print the return type.
(to_ada_name): Change type of space_found parameter to bool.
(dump_ada_function_declaration): Return void and change type of
parameters to bool.  Also print the return type for a function.
(print_ada_methods): Rename into...
(dump_ada_methods): ...this.
(print_ada_declaration): Rename into ...
(dump_ada_declaration): ...this.  Do not print the return type.
(print_ada_struct_decl): Rename into...
(dump_ada_struct_decl): ...this.

From-SVN: r253304
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c