mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 16:23:04 +00:00
* src/LR0.c (state_list_t, state_list_append): New.
(first_state, last_state): Now symbol_list_t. (this_state): Remove. (new_itemsets, append_states, save_reductions): Take a state_t as argument. (set_states, generate_states): Adjust. (save_shifts): Remove, replaced by... * src/state.h, src/state.c (state_shifts_set): New. (shifts): Rename as... (shifts_t): this. Adjust all dependencies. * src/state.h (state_t): Remove the `next' member.
This commit is contained in:
@@ -43,13 +43,11 @@ typedef struct symbol_list_s
|
||||
/* Create a list containing SYMBOL at LOCATION. */
|
||||
symbol_list_t *symbol_list_new PARAMS ((symbol_t *sym, location_t location));
|
||||
|
||||
|
||||
/* Prepend SYMBOL at LOCATION to the LIST. */
|
||||
symbol_list_t * symbol_list_prepend PARAMS ((symbol_list_t *list,
|
||||
symbol_t *symbol,
|
||||
location_t location));
|
||||
|
||||
|
||||
/* Free the LIST, but not the symbols it contains. */
|
||||
void symbol_list_free PARAMS ((symbol_list_t *list));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user