mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
* src/state.h, src/state.c (shifts_to): New.
* src/lalr.c (build_relations): Use it.
This commit is contained in:
@@ -139,6 +139,10 @@ typedef struct shifts_s
|
||||
#define SHIFT_IS_DISABLED(Shifts, Shift) \
|
||||
(Shifts->shifts[Shift] == 0)
|
||||
|
||||
/* Return the state such these SHIFTS contain a shift/goto to it on
|
||||
SYMBOL. Aborts if none found. */
|
||||
struct state_s;
|
||||
struct state_s *shifts_to PARAMS ((shifts_t *shifts, symbol_number_t s));
|
||||
|
||||
/*-------.
|
||||
| Errs. |
|
||||
|
||||
Reference in New Issue
Block a user