mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
Use C99-style bool instead of our own style.
This commit is contained in:
@@ -418,7 +418,7 @@ token_actions (void)
|
||||
/* Find the rules which are reduced. */
|
||||
if (!glr_parser)
|
||||
for (r = 0; r < nrules; ++r)
|
||||
rules[r].useful = FALSE;
|
||||
rules[r].useful = false;
|
||||
|
||||
for (i = 0; i < nstates; ++i)
|
||||
{
|
||||
@@ -433,9 +433,9 @@ token_actions (void)
|
||||
{
|
||||
for (j = 0; j < ntokens; ++j)
|
||||
if (actrow[j] < 0 && actrow[j] != ACTION_MIN)
|
||||
rules[item_number_as_rule_number (actrow[j])].useful = TRUE;
|
||||
rules[item_number_as_rule_number (actrow[j])].useful = true;
|
||||
if (yydefact[i])
|
||||
rules[yydefact[i] - 1].useful = TRUE;
|
||||
rules[yydefact[i] - 1].useful = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user