*** gcc-2005q3/gcc/c-parse.in~ Thu Dec 8 05:15:47 2005 --- gcc-2005q3/gcc/c-parse.in Fri Jul 29 22:04:33 2011 *************** *** 1730,1736 **** structsp_attr: struct_head identifier '{' ! { $$ = start_struct (RECORD_TYPE, $2); /* Start scope of tag before parsing components. */ } component_decl_list '}' maybe_attribute --- 1730,1736 ---- structsp_attr: struct_head identifier '{' ! { $$ = start_struct (RECORD_TYPE, $2); /* Start scope of tag before parsing components. */ } component_decl_list '}' maybe_attribute *************** *** 1741,1747 **** nreverse ($3), chainon ($1, $5)); } | union_head identifier '{' ! { $$ = start_struct (UNION_TYPE, $2); } component_decl_list '}' maybe_attribute { $$ = finish_struct ($4, nreverse ($5), chainon ($1, $7)); } --- 1741,1747 ---- nreverse ($3), chainon ($1, $5)); } | union_head identifier '{' ! { $$ = start_struct (UNION_TYPE, $2); } component_decl_list '}' maybe_attribute { $$ = finish_struct ($4, nreverse ($5), chainon ($1, $7)); } *************** *** 1750,1761 **** nreverse ($3), chainon ($1, $5)); } | enum_head identifier '{' ! { $$ = start_enum ($2); } enumlist maybecomma_warn '}' maybe_attribute { $$ = finish_enum ($4, nreverse ($5), chainon ($1, $8)); } | enum_head '{' ! { $$ = start_enum (NULL_TREE); } enumlist maybecomma_warn '}' maybe_attribute { $$ = finish_enum ($3, nreverse ($4), chainon ($1, $7)); } --- 1750,1761 ---- nreverse ($3), chainon ($1, $5)); } | enum_head identifier '{' ! { $$ = start_enum ($2); } enumlist maybecomma_warn '}' maybe_attribute { $$ = finish_enum ($4, nreverse ($5), chainon ($1, $8)); } | enum_head '{' ! { $$ = start_enum (NULL_TREE); } enumlist maybecomma_warn '}' maybe_attribute { $$ = finish_enum ($3, nreverse ($4), chainon ($1, $7)); }