mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
style: eliminate useless indirection
* src/relation.h, src/relation.c (relation_digraph): Don't take the biteetv as a pointer, it is already a pointer (as it's an array).
This commit is contained in:
@@ -244,7 +244,7 @@ ielr_compute_follow_kernel_items (bitset ritem_sees_lookahead_set,
|
||||
&& bitset_test (ritem_sees_lookahead_set, items[j]))
|
||||
bitset_set ((*follow_kernel_itemsp)[i], j);
|
||||
}
|
||||
relation_digraph (internal_follow_edges, ngotos, follow_kernel_itemsp);
|
||||
relation_digraph (internal_follow_edges, ngotos, *follow_kernel_itemsp);
|
||||
|
||||
if (trace_flag & trace_ielr)
|
||||
{
|
||||
@@ -300,7 +300,7 @@ ielr_compute_always_follows (goto_number ***edgesp,
|
||||
}
|
||||
free (edge_array);
|
||||
}
|
||||
relation_digraph (*edgesp, ngotos, always_followsp);
|
||||
relation_digraph (*edgesp, ngotos, *always_followsp);
|
||||
|
||||
if (trace_flag & trace_ielr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user