diff options
author | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-22 09:34:32 +0000 |
---|---|---|
committer | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-22 09:34:32 +0000 |
commit | 759791ee6ab4ea52827f7ab061f8980d921a1d18 (patch) | |
tree | c91abf2b932d8d427f3728cfcbac2e5959e0b43c /gcc/c-tree.h | |
parent | 62be004c68ce53f727b45453c1b12b4ce11f776c (diff) | |
download | gcc-759791ee6ab4ea52827f7ab061f8980d921a1d18.tar.gz |
2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* c-tree.h (push_init_level, pop_init_level, set_init_index)
(process_init_element): New argument of type struct obstack *.
* c-typeck.c (push_init_level, pop_init_level, set_designator)
(set_init_index, set_init_label, set_nonincremental_init)
(set_nonincremental_init_from_string, find_init_member)
(output_init_element, output_pending_init_elements)
(process_init_element): New argument braced_init_obstack. Pass it
down.
(push_range_stack, add_pending_init): New argument
braced_init_obstack. Use obstack allocation.
* c-parser.c (c_parser_initelt, c_parser_initval): New argument
braced_init_obstack. Pass it down.
(c_parser_braced_init): New variables ret, braced_init_obstack.
Initialize obstack, pass it down and finally free it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158634 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 3681ed7dfec..681fe9b4ffe 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -539,11 +539,11 @@ extern void maybe_warn_string_init (tree, struct c_expr); extern void start_init (tree, tree, int); extern void finish_init (void); extern void really_start_incremental_init (tree); -extern void push_init_level (int); -extern struct c_expr pop_init_level (int); -extern void set_init_index (tree, tree); -extern void set_init_label (tree); -extern void process_init_element (struct c_expr, bool); +extern void push_init_level (int, struct obstack *); +extern struct c_expr pop_init_level (int, struct obstack *); +extern void set_init_index (tree, tree, struct obstack *); +extern void set_init_label (tree, struct obstack *); +extern void process_init_element (struct c_expr, bool, struct obstack *); extern tree build_compound_literal (location_t, tree, tree, bool); extern void check_compound_literal_type (location_t, struct c_type_name *); extern tree c_start_case (location_t, location_t, tree); |