Blame SOURCES/gcc34-bison4.patch

6693b3
--- gcc/c-parse.in	2009-02-10 12:41:09.000000000 +0100
6693b3
+++ gcc/c-parse.in	2009-02-10 13:23:53.000000000 +0100
6693b3
@@ -1647,7 +1647,7 @@ enum_head:
6693b3
 
6693b3
 structsp_attr:
6693b3
 	  struct_head identifier '{'
6693b3
-		{ $$ = start_struct (RECORD_TYPE, $2);
6693b3
+		{ $<ttype>$ = start_struct (RECORD_TYPE, $2);
6693b3
 		  /* Start scope of tag before parsing components.  */
6693b3
 		}
6693b3
 	  component_decl_list '}' maybe_attribute
6693b3
@@ -1658,7 +1658,7 @@ structsp_attr:
6693b3
 				      nreverse ($3), chainon ($1, $5));
6693b3
 		}
6693b3
 	| union_head identifier '{'
6693b3
-		{ $$ = start_struct (UNION_TYPE, $2); }
6693b3
+		{ $<ttype>$ = start_struct (UNION_TYPE, $2); }
6693b3
 	  component_decl_list '}' maybe_attribute
6693b3
 		{ $$ = finish_struct ($<ttype>4, nreverse ($5),
6693b3
 				      chainon ($1, $7)); }
6693b3
@@ -1667,12 +1667,12 @@ structsp_attr:
6693b3
 				      nreverse ($3), chainon ($1, $5));
6693b3
 		}
6693b3
 	| enum_head identifier '{'
6693b3
-		{ $$ = start_enum ($2); }
6693b3
+		{ $<ttype>$ = start_enum ($2); }
6693b3
 	  enumlist maybecomma_warn '}' maybe_attribute
6693b3
 		{ $$ = finish_enum ($<ttype>4, nreverse ($5),
6693b3
 				    chainon ($1, $8)); }
6693b3
 	| enum_head '{'
6693b3
-		{ $$ = start_enum (NULL_TREE); }
6693b3
+		{ $<ttype>$ = start_enum (NULL_TREE); }
6693b3
 	  enumlist maybecomma_warn '}' maybe_attribute
6693b3
 		{ $$ = finish_enum ($<ttype>3, nreverse ($4),
6693b3
 				    chainon ($1, $7)); }