Use C99-style bool instead of our own style.

This commit is contained in:
Paul Eggert
2002-10-22 04:46:28 +00:00
parent 738c69de37
commit 8307162d58
5 changed files with 21 additions and 21 deletions

View File

@@ -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;
}
}