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

@@ -143,7 +143,7 @@ state_new (symbol_number accessing_symbol,
res->reductions = NULL;
res->errs = NULL;
res->state_list = NULL;
res->consistent = 0;
res->consistent = false;
res->solved_conflicts = NULL;
res->solved_conflicts_xml = NULL;