diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-11-16 03:42:28 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-11-16 03:42:28 +0000 |
commit | 58595203f2ded150884358ebe299c034fffee588 (patch) | |
tree | 8f024553e6c99a48931c5be3c4695973b30b2879 /gcc/function.c | |
parent | ff9655e94b9b1d3483abb43ae26e1393dc8829a1 (diff) | |
download | gcc-58595203f2ded150884358ebe299c034fffee588.zip gcc-58595203f2ded150884358ebe299c034fffee588.tar.gz gcc-58595203f2ded150884358ebe299c034fffee588.tar.bz2 |
cp-tree.h (build_enumerator): Change prototype.
* cp-tree.h (build_enumerator): Change prototype.
* decl.c (enum_next_value): Remove.
(enum_overflow): Likewise.
(init_decl_processing): Don't register enum_next_value as a root.
(start_enum): Clear TYPE_VALUES for a redefined enum.
(finish_enum): Reset the type of enumeration constants.
(build_enumerator): Fix indentation. Don't copy CONST_DECLs when
we don't need to. Maintain the TYPE_VALUES list and look there
for the previously defined enumeration constant. Let enumeration
constants have the type of their values until the enumeration type
is complete.
* parse.y (enumlist_opt, enumlist, enumerator): Don't return a value.
(structsp): Adjust.
* parse.c: Regenerated.
* pt.c (tsubst_enum): Adjust according to build_enumerator changes.
From-SVN: r30544
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions