style: reduce scopes in tables.c

* src/tables.c: here.
* src/state.h: Formatting changes.
This commit is contained in:
Akim Demaille
2018-09-15 07:15:20 +02:00
parent 6cc69f4d14
commit 50910389c9
2 changed files with 100 additions and 132 deletions

View File

@@ -148,7 +148,7 @@ typedef struct
/* Iterate over each transition over a token (shifts). */
# define FOR_EACH_SHIFT(Transitions, Iter) \
# define FOR_EACH_SHIFT(Transitions, Iter) \
for (Iter = 0; \
Iter < Transitions->num \
&& (TRANSITION_IS_DISABLED (Transitions, Iter) \