style: prefer bool to char

* src/state.h, src/state.c (state::consistent): Make it a bool.
Adjust dependencies.
This commit is contained in:
Akim Demaille
2019-01-20 16:54:33 +01:00
parent 626d2f2dca
commit 05b70f47e8
3 changed files with 7 additions and 5 deletions

View File

@@ -329,7 +329,7 @@ state_lookahead_tokens_count (state *s, bool default_reduction_only_for_accept)
&& default_reduction_only_for_accept))
n_lookahead_tokens += rp->num;
else
s->consistent = 1;
s->consistent = true;
return n_lookahead_tokens;
}