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

@@ -366,7 +366,7 @@ print_reductions (FILE *out, state_t *state)
if (redp->rules[j] != default_rule)
print_reduction (out, width,
symbols[i]->tag,
redp->rules[j], TRUE);
redp->rules[j], true);
else
defaulted = 1;
count++;
@@ -376,18 +376,18 @@ print_reductions (FILE *out, state_t *state)
if (defaulted)
print_reduction (out, width,
symbols[i]->tag,
default_rule, TRUE);
default_rule, true);
defaulted = 0;
print_reduction (out, width,
symbols[i]->tag,
redp->rules[j], FALSE);
redp->rules[j], false);
}
}
}
if (default_rule)
print_reduction (out, width,
_("$default"), default_rule, TRUE);
_("$default"), default_rule, true);
}
@@ -400,11 +400,11 @@ static void
print_actions (FILE *out, state_t *state)
{
/* Print shifts. */
print_transitions (state, out, TRUE);
print_transitions (state, out, true);
print_errs (out, state);
print_reductions (out, state);
/* Print gotos. */
print_transitions (state, out, FALSE);
print_transitions (state, out, false);
}