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

@@ -71,8 +71,8 @@ useful_production (rule_number_t r, bitset N0)
for (rhsp = rules[r].rhs; *rhsp >= 0; ++rhsp)
if (ISVAR (*rhsp) && !bitset_test (N0, *rhsp - ntokens))
return FALSE;
return TRUE;
return false;
return true;
}
@@ -353,14 +353,14 @@ reduce_output (FILE *out)
}
{
bool b = FALSE;
bool b = false;
int i;
for (i = 0; i < ntokens; i++)
if (!bitset_test (V, i) && !bitset_test (V1, i))
{
if (!b)
fprintf (out, "%s\n\n", _("Terminals which are not used"));
b = TRUE;
b = true;
fprintf (out, " %s\n", symbols[i]->tag);
}
if (b)