Whoops, fix build breakage. There were still a few uses of the bool type.

Remove the last few uses of bool/true/false.
This commit is contained in:
Neal Norwitz 2007-02-26 19:14:12 +00:00
parent 3591bbe453
commit 6baa4c4cc6
4 changed files with 11 additions and 19 deletions

View file

@ -1660,7 +1660,7 @@ ast_for_trailer(struct compiling *c, const node *n, expr_ty left_expr)
int j;
slice_ty slc;
expr_ty e;
bool simple = true;
int simple = 1;
asdl_seq *slices, *elts;
slices = asdl_seq_new((NCH(n) + 1) / 2, c->c_arena);
if (!slices)
@ -1670,7 +1670,7 @@ ast_for_trailer(struct compiling *c, const node *n, expr_ty left_expr)
if (!slc)
return NULL;
if (slc->kind != Index_kind)
simple = false;
simple = 0;
asdl_seq_SET(slices, j / 2, slc);
}
if (!simple) {