diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-12-20 19:22:51 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-12-20 19:22:51 -0500 |
commit | dea273dfa15375d0d7e7fe6ad23e3b843fd49b80 (patch) | |
tree | c32b5b9959c39b517cd72de51ac8fe06d5b3ec58 /gcc | |
parent | 674d5d8bef3bbec5b9f2d75aa22402b48ceb1b28 (diff) | |
download | gcc-dea273dfa15375d0d7e7fe6ad23e3b843fd49b80.zip gcc-dea273dfa15375d0d7e7fe6ad23e3b843fd49b80.tar.gz gcc-dea273dfa15375d0d7e7fe6ad23e3b843fd49b80.tar.bz2 |
(struct initializer_stack): New field ELEMENTS.
(start_init, finish_init): Save and restore constructor_elements.
From-SVN: r6250
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-typeck.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index ab1e4fa..51ee586 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -4820,6 +4820,7 @@ struct initializer_stack tree decl; char *asmspec; struct constructor_stack *constructor_stack; + tree elements; struct spelling *spelling; struct spelling *spelling_base; int spelling_size; @@ -4854,6 +4855,7 @@ start_init (decl, asmspec_tree, top_level) p->require_constant_value = require_constant_value; p->require_constant_elements = require_constant_elements; p->constructor_stack = constructor_stack; + p->elements = constructor_elements; p->spelling = spelling; p->spelling_base = spelling_base; p->spelling_size = spelling_size; @@ -4927,6 +4929,7 @@ finish_init () require_constant_value = p->require_constant_value; require_constant_elements = p->require_constant_elements; constructor_stack = p->constructor_stack; + constructor_elements = p->elements; spelling = p->spelling; spelling_base = p->spelling_base; spelling_size = p->spelling_size; |