mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 04:43:03 +00:00
style: comment changes and refactoring in state.c
* src/state.h, src/state.c: Comment changes. (transitions_to): Take a state* as argument. * src/lalr.h, src/lalr.c: Comment changes. (initialize_F): Use clear variable names.
This commit is contained in:
@@ -159,9 +159,9 @@ typedef struct
|
||||
if (!TRANSITION_IS_DISABLED (Transitions, Iter))
|
||||
|
||||
|
||||
/* Return the state such SHIFTS contain a shift/goto to it on SYM.
|
||||
Abort if none found. */
|
||||
struct state *transitions_to (transitions *shifts, symbol_number sym);
|
||||
/* The destination of the transition (shift/goto) from state S on
|
||||
label SYM (term or nterm). Abort if none found. */
|
||||
struct state *transitions_to (state *s, symbol_number sym);
|
||||
|
||||
|
||||
/*-------.
|
||||
|
||||
Reference in New Issue
Block a user