aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorLaurynas Biveinis <laurynas.biveinis@gmail.com>2010-04-22 09:34:32 +0000
committerLaurynas Biveinis <lauras@gcc.gnu.org>2010-04-22 09:34:32 +0000
commita1e3b3d9f0c61b729ad64db479f3dc4c641203ff (patch)
treec91abf2b932d8d427f3728cfcbac2e5959e0b43c /gcc/c-tree.h
parent5b58b39b0a7d1c79b0d57e51199864f9a3685bb4 (diff)
downloadgcc-a1e3b3d9f0c61b729ad64db479f3dc4c641203ff.zip
gcc-a1e3b3d9f0c61b729ad64db479f3dc4c641203ff.tar.gz
gcc-a1e3b3d9f0c61b729ad64db479f3dc4c641203ff.tar.bz2
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. From-SVN: r158634
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 3681ed7..681fe9b 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);