libIDL r596 - trunk



Author: matthiasc
Date: Tue Dec  2 14:31:37 2008
New Revision: 596
URL: http://svn.gnome.org/viewvc/libIDL?rev=596&view=rev

Log:
Fix the build with bison 2.4


Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/parser.y

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Tue Dec  2 14:31:37 2008
@@ -1,3 +1,7 @@
+libIDL 0.8.12:
+
+        * Fix the build with bison 2.4
+
 libIDL 0.8.10:
 
         * Fix the build with glib 2.15

Modified: trunk/parser.y
==============================================================================
--- trunk/parser.y	(original)
+++ trunk/parser.y	Tue Dec  2 14:31:37 2008
@@ -607,7 +607,7 @@
 			{ $<str>$ = "struct"; }
 			z_new_scope_catch '{'		{
 	g_hash_table_insert (__IDL_structunion_ht, $4, $4);
-	$$ = IDL_type_struct_new ($4, NULL);
+	$<tree>$ = IDL_type_struct_new ($4, NULL);
 }				member_list
 			'}' pop_scope			{
 	g_hash_table_remove (__IDL_structunion_ht, $4);
@@ -624,7 +624,7 @@
 				switch_type_spec
 			')' '{'				{
 	g_hash_table_insert (__IDL_structunion_ht, $4, $4);
-	$$ = IDL_type_union_new ($4, $7, NULL);
+	$<tree>$ = IDL_type_union_new ($4, $7, NULL);
 }				switch_body
 			'}' pop_scope			{
 	g_hash_table_remove (__IDL_structunion_ht, $4);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]