cex: style changes in state-item

* src/state-item.h, src/state-item.c (state_item): Make the state
const.
(state_item_set): Make it clearer that it works in the state_items
global array.
This commit is contained in:
Akim Demaille
2020-05-16 15:10:35 +02:00
parent f3ef847539
commit ac3b6c18a5
2 changed files with 11 additions and 13 deletions

View File

@@ -63,7 +63,7 @@ typedef int state_item_number;
typedef struct
{
state *state;
const state *state;
item_number *item;
bitset lookahead;
} state_item;