mcst-linux-kernel/patches-2024.06.26/libIDL-0.8.5/0000-init.add.patch

22 lines
783 B
Diff

diff -ruaN libIDL-0.8.5/parser.y my_libIDL-0.8.5/parser.y
--- libIDL-0.8.5/parser.y 2004-11-20 15:46:25.000000000 +0300
+++ my_libIDL-0.8.5/parser.y 2024-04-16 12:19:26.878451550 +0300
@@ -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);