style: rename variables for consistency

* src/lalr.c: Use trans for transitions, and reds for reductions, as
elsewhere in the code.
* src/state.h: Comment changes.
This commit is contained in:
Akim Demaille
2019-03-29 22:03:37 +01:00
parent dee8fbbc1e
commit eb92ec3dc6
2 changed files with 24 additions and 21 deletions

View File

@@ -112,7 +112,7 @@ typedef struct state state;
typedef struct
{
int num;
int num; /** Size of destination STATES. */
state *states[1];
} transitions;