mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 16:23:04 +00:00
style: prefer bool to char
* src/state.h, src/state.c (state::consistent): Make it a bool. Adjust dependencies.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user