summaryrefslogtreecommitdiff
path: root/src/lssi.h
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-07-12 14:18:49 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-07-14 06:48:48 +0200
commitcd099edf2d0a4fff80f35713efa190bc318b2f6b (patch)
tree275d5dfd77b3615c04e76f2f786a54694f721eb2 /src/lssi.h
parent1e122197752090bcb8d422b980b01ccfae824c97 (diff)
downloadbison-cd099edf2d0a4fff80f35713efa190bc318b2f6b.tar.gz
cex: use better type names
There are too many gl_list_t in there, it's hard to understand what is going on. Introduce and use more precise types. I sure can be wrong in some places, it's hard to tell without proper tool support. * src/counterexample.c, src/lssi.c, src/lssi.h, src/parse-simulation.c, * src/parse-simulation.h, src/state-item.c, src/state-item.h (si_bfs_node_list, search_state_list, ssb_list, lssi_list) (state_item_list): New.
Diffstat (limited to 'src/lssi.h')
-rw-r--r--src/lssi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lssi.h b/src/lssi.h
index dcdb8ef8..6aaf2bc4 100644
--- a/src/lssi.h
+++ b/src/lssi.h
@@ -32,8 +32,8 @@
* find shortest lookahead-sensitive path of state-items to target such that
* next_sym is in the follow_L set of target in that position.
*/
-gl_list_t shortest_path_from_start (state_item_number target,
- symbol_number next_sym);
+state_item_list shortest_path_from_start (state_item_number target,
+ symbol_number next_sym);
/**
* Determine if the given terminal is in the given symbol set or can begin
@@ -52,6 +52,6 @@ bool intersect (bitset ts, bitset syms);
* to this state-item such that the resulting possible lookahead symbols are
* as given.
*/
-gl_list_t lssi_reverse_production (const state_item *si, bitset lookahead);
+state_item_list lssi_reverse_production (const state_item *si, bitset lookahead);
#endif /* LSSI_H */