diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-26 19:14:12 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-26 19:14:12 (GMT) |
commit | 6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06 (patch) | |
tree | 16ac764ea2e02dada18ee6269ed723ddcdd8e8e4 /Python/ast.c | |
parent | 3591bbe4534d05631ace7b7e7b076c0cc52e7f13 (diff) | |
download | cpython-6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06.zip cpython-6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06.tar.gz cpython-6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06.tar.bz2 |
Whoops, fix build breakage. There were still a few uses of the bool type.
Remove the last few uses of bool/true/false.
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ast.c b/Python/ast.c index 9d5caf8..92b02f0 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -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) { |