libIDL/libIDL-0.8.14-parser-primary_expr-unused-parent-node.patch
DistroBaker 8e92a6db78 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libIDL.git#60e1b2a45ce0d63092c235448cee94175566cf74
2021-02-05 21:36:07 +00:00

17 lines
468 B
Diff

diff -Naur libIDL-0.8.14-original/parser.y libIDL-0.8.14/parser.y
--- libIDL-0.8.14-original/parser.y 2009-04-18 08:20:37.000000000 -0400
+++ libIDL-0.8.14/parser.y 2021-02-03 12:44:47.638466666 -0500
@@ -898,11 +898,9 @@
;
primary_expr: scoped_name {
- IDL_tree p, literal;
+ IDL_tree literal;
assert (IDL_NODE_TYPE ($1) == IDLN_IDENT);
-
- p = IDL_NODE_UP ($1);
if ((literal = IDL_resolve_const_exp ($1, IDLN_ANY))) {
++IDL_NODE_REFS (literal);